We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

PDF handling between Firefox 71.x and 72.x

more options

I have a particular PDF (an invoice of sorts) that displays information regarding one company under version 71.0 (and below), but then displays information regarding a different company under version 72.0.2 (and above). It's as if there are two similar documents layered within the same file, but which 'document' is visible depends on which version of Firefox you're running...!? Aside from trying to understand the PDF, itself, can anyone explain how these versions of Firefox differ, in their own handling of PDFs? Something changed between the two releases.

I have a particular PDF (an invoice of sorts) that displays information regarding one company under version 71.0 (and below), but then displays information regarding a different company under version 72.0.2 (and above). It's as if there are two similar documents layered within the same file, but which 'document' is visible depends on which version of Firefox you're running...!? Aside from trying to understand the PDF, itself, can anyone explain how these versions of Firefox differ, in their own handling of PDFs? Something changed between the two releases.

All Replies (1)

more options

Hi JW, the PDF viewer, PDF.js, is developed over here:

https://github.com/mozilla/pdf.js/

Note: PDF.js does not fully support layers and definitely does not support hidden layers -- they are visible. For best results, remove "hidden" layers from your PDFs.

Firefox 71 vs. 72:

Updates get pulled into Firefox from time to time. It looks like these were the versions used, although I'm not completely sure:

  • Firefox 72: version 2.4.152, pdfjsBuild = '827eb64b'
  • Firefox 71: version 2.4.43, pdfjsBuild = '16ae7c69'

And I don't know Github well enough to compare them. You might want to test the development version here:

https://mozilla.github.io/pdf.js/web/viewer.html

On the right side of the viewer's black toolbar, you'll notice a folder with an up-pointing arrow which lets you load a local file into the page.

Same problem?

You may want to file an issue on the Github repository.