Open
Bug 1612351
Opened 5 years ago
Updated 2 years ago
Firefox ignores content-disposition for embedded pdf because of default action
Categories
(Firefox :: File Handling, enhancement)
Firefox
File Handling
Tracking
()
UNCONFIRMED
People
(Reporter: orkeshum, Unassigned)
References
()
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36
Steps to reproduce:
- Set "Always ask" for default action for PDF in Firefox settings.
- Set iframe's src with link to pdf
- PDF request should return content-disposition "inline; filename=textstyle"
alternative reproduction: set always ask setting and go to https://pdfobject.com/static/, you won't see pdf viewer
Actual results:
Popup for saving pdf is prompted for user
Expected results:
Iframe should preview pdf
It seems that firefox competely ignores content-disposition for pdf (well, firefox does exactly what the setting is about, but I don't understand why there is such setting). With this setting you can't implement list of pdfs with previewer
Comment 1•5 years ago
|
||
Similar to bug 1500404 except there's a download prompt in this case.
Has STR: --- → yes
Component: Untriaged → PDF Viewer
See Also: → 1500404
Summary: Firefox ignores content-disposition for preview pdf because of default action → Firefox ignores content-disposition for embedded pdf because of default action
Updated•5 years ago
|
Priority: -- → P3
Updated•3 years ago
|
Severity: normal → --
Component: PDF Viewer → File Handling
Priority: P3 → --
Version: 72 Branch → Trunk
You need to log in
before you can comment on or make changes to this bug.
Description
•