Closed Bug 1444780 Opened 8 years ago Closed 8 years ago

Using Firefox as a PDF Viewer

Categories

(Firefox :: PDF Viewer, defect)

58 Branch
defect
Not set
normal

Tracking

()

VERIFIED INVALID

People

(Reporter: hello, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0 Build ID: 20180206200532 Steps to reproduce: 1. Make Firefox preview PDFs using PDF.js (Preview in browser) 2. Set Firefox as the default program for opening PDF files in Windows' settings 3. Open a locally stored PDF file with Firefox Note: this only works with some PDF files. I can find no correlation between what files cause this issue and what files don't. The file I used in the video demonstration can be found here: https://drive.google.com/open?id=1GOKsDtOdhKVE52HkyzemsJ09-CNngqF2 Actual results: Observe: https://youtu.be/vy6V5xAw2Yw Firefox opened, and opened the file, saved the file into the temporary file directory, then opened that file, then saved that file into the temporary file directory etcetera. Expected results: PDF file should have opened normally, and previewed in browser.
(In reply to miguelag2001 from comment #0) > The file I used in the video demonstration can be found here: > https://drive.google.com/open?id=1GOKsDtOdhKVE52HkyzemsJ09-CNngqF2 Is that an intentionally malformed file intended to trigger the bug? Once unzipped, the resulting file is only 16 bytes in size. It doesn't even have a PDF header. It's not a valid PDF by any means.
Flags: needinfo?(miguelag2001)
(In reply to Gingerbread Man from comment #1) > (In reply to miguelag2001 from comment #0) > > The file I used in the video demonstration can be found here: > > https://drive.google.com/open?id=1GOKsDtOdhKVE52HkyzemsJ09-CNngqF2 > > Is that an intentionally malformed file intended to trigger the bug? Once > unzipped, the resulting file is only 16 bytes in size. It doesn't even have > a PDF header. It's not a valid PDF by any means. Sorry, this was actually an issue with OneNote saving files. It would fail to save the file for opening when launching and not display an error, then firefox would glitch when opening it because of this. I associated it with firefox because I got the same error with some other PDF files which didn't save properly from a website (which is the website's fault)
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Flags: needinfo?(miguelag2001)
Resolution: --- → INVALID
Status: RESOLVED → VERIFIED
Component: Untriaged → PDF Viewer
You need to log in before you can comment on or make changes to this bug.