Closed Bug 1182051 Opened 9 years ago Closed 8 years ago

display download dialog first instead of downloading the file

Categories

(Firefox :: PDF Viewer, defect)

39 Branch
defect
Not set
normal

Tracking

()

VERIFIED INCOMPLETE

People

(Reporter: kernp25, Unassigned)

References

Details

(Whiteboard: [pdfjs-f-needinfo])

1.) Open this pdf (100 MB) with the built-in pdf viewer (pdf.js):
http://www.cartographicperspectives.org/index.php/journal/article/download/cp43-complete-issue/577
2.) Click the download button to download file
3.) Wait...

It looks like, it downloads the file first and then displays the download dialog.
I think this is bad behavior because, what if the user clicks the cancel button later (when the dialog will finally display) on the dialog? Then the download will be a waste.

It should work like "Save Page As..." (the dialog will display instantly without download the file)
When I click the link above I am prompted right away to save the file first. It doesn't launch PDF.js. How are you able to get pdf.js to first load the file?
Flags: needinfo?(kernp25)
Whiteboard: [pdfjs-f-needinfo]
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Flags: needinfo?(kernp25)
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.