error in PDF.JS (viewer.js) with self-printing PDFs

NEW
Unassigned

Status

()

Firefox
PDF Viewer
P3
normal
3 years ago
3 years ago

People

(Reporter: Will Sullivan, Unassigned)

Tracking

({regression})

33 Branch
x86_64
Windows 8.1
regression
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [pdfjs-c-integration][pdfjs-d-printing], URL)

(Reporter)

Description

3 years ago
User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36

Steps to reproduce:

I've got a repro website with more details, including some results from debugging viewer.js

http://firefoxselfprintingpdfbug.azurewebsites.net/

Using the built-in PDF viewer (pdf.js, configured via Options -> Applications -> Portable Document Format(PDF) : Preview in Firefox), and attempted to open a self-printing PDF. 


Actual results:

The user gets a dialog that states "there was an unexpected problem while printing".


Expected results:

The user should have been presented the print dialog.  If you install the Mozilla Labs pdf.js plugin https://addons.mozilla.org/en-US/firefox/addon/pdfjs/ it works as expected.  Something is happening in viewer.js during normal execution that can't be observed while debugging.  If you visit the above website you can read more and repro it for yourself.
(Reporter)

Updated

3 years ago

Updated

3 years ago
Component: Untriaged → PDF Viewer
(Reporter)

Comment 1

3 years ago
Just updated to 35.  Bug still exists, and now the pdfjs addon isn't available.  Joy.

Comment 2

3 years ago
It regressed indeed. To reproduce it, after cliking on the link, you can scroll fastly the pop-up window when the PDF is loading.
I think it's a bug about rendering the PDF contents.

regression range:
good=2014-06-17
bad=2014-06-18
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=bb35d1b73634&tochange=37f08ddaea48

Ryan VanderMeulen — Bug 1025878 - Update pdf.js to version 1.0.370. r=yury

Maybe that patch:
#4941 Prevent rendering unnecessary pages when the HOME/END keys are pressed
Blocks: 1025878
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: regression
Version: 34 Branch → 33 Branch
Appears to only happen on windows.
Priority: -- → P3
Whiteboard: [pdfjs-c-integration][pdfjs-d-printing]

Updated

3 years ago
See Also: → bug 1132860
You need to log in before you can comment on or make changes to this bug.