Attach (recommended) or Link to PDF file here:
See pdf in https://github.com/mozilla/pdf.js/issues/3109

Configuration:
- Web browser and its version: Firefox nightly
- Operating system and its version: Windows 10
- PDF.js version: builtin viewer

Steps to reproduce the problem:
1. Look at outlines

What is the expected behavior? (add screenshot)
![image](https://user-images.githubusercontent.com/5641725/141514798-0e656865-1cbf-4fb8-a89b-530d36da23c9.png)

What went wrong? (add screenshot)
![image](https://user-images.githubusercontent.com/5641725/141514740-c95e0237-8bf4-4129-a4a5-cb2ea5a3f4df.png)

expect(!!field).toEqual(true);
      expect(field.fieldValue).toEqual(value);
      await loadingTask.destroy();
    });
    describe("Cross-origin", function () {
      let loadingTask;
      function _checkCanLoad(expectSuccess, filename, options) {
        if (isNodeJS) {
          pending("Cannot simulate cross-origin requests in Node.js");
        }
        const params = buildGetDocumentParams(filename, options);
        const url = new URL(params.url);
        if (url.hostname === "localhost") {
          url.hostname = "127.0.0.1";
        } else if (params.url.hostname === "127.0.0.1") {
          url.hostname = "localhost";
        } else {
          pending("Can only run cross-origin test on localhost!");
        }
        params.url = url.href;
        loadingTask = getDocument(params);
        return loadingTask.promise
          .then(function (pdf) {
            return pdf.destroy();
          })
          .then(
            function () {
              expect(expectSuccess).toEqual(true);
            
            function (error) {