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)

path: TEST_PDFS_PATH + basicApiFileName,
      });
      
      expect(typedArrayPdf.length).toEqual(basicApiFileLength);
      const loadingTask = getDocument(typedArrayPdf);
      expect(loadingTask instanceof PDFDocumentLoadingTask).toEqual(true);
      const progressReportedCapability = createPromiseCapability();
      loadingTask.onProgress = function (data) {
        progressReportedCapability.resolve(data);
      };
      const data = await Promise.all([
        loadingTask.promise,
        progressReportedCapability.promise,
      ]);
      expect(data[0] instanceof PDFDocumentProxy).toEqual(true);
      expect(data[1].loaded / data[1].total).toEqual(1);
      await loadingTask.destroy();
    });
    it("creates pdf doc from invalid PDF file", async function () {
      
      const loadingTask = getDocument(buildGetDocumentParams("bug1020226.pdf"));
      expect(loadingTask instanceof PDFDocumentLoadingTask).toEqual(true);
      try {
        await loadingTask.promise;
        
        expect(false).toEqual(true);
      
        expect(reason instanceof InvalidPDFException).toEqual(true);
        expect(reason.message).toEqual("Invalid PDF structure.");
      }