User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:35.0) Gecko/20100101 Firefox/35.0 Build ID: 20150122214805 Steps to reproduce: I opened a website (specifically, blackboard.com) which embedded a PDF within the page inside an iframe. I clicked the download button. Actual results: Nothing. Expected results: A "save file" box should pop up, like it normally would when clicking the button (not iframed).
It's not a big problem since I can just open the PDF in a new tab and then save it, or use the iframe options on the right-click menu, but it's a little weird. I assume it's some sort of web browser security model issue, as I gather that the PDF viewer is essentially just a normal web page.
Created attachment 8560435 [details] iframe pdf html testpage Please provide a public example url where you see the issue. The attached testcase with an iframe works as expected for me in Firefox35.0.1
Comment on attachment 8560435 [details] iframe pdf html testpage Ignore the attachment (https/http issue), use http://mversen.de/mozilla/1130238/
Attachment #8560435 - Attachment is obsolete: true
Ooh, that works fine. I looked at blackboard's source and it uses an embed: <embed scale="tofit" name="PDFEmbed" alt="" id="PDFEmbedID" src="/bbcswebdav/pid-841887-dt-content-rid-2221361_1/xid-2221361_1" type="application/pdf" controller="true" height="873" width="100%"></embed> Yet modifying your sample to use the embed, it still works. And blackboard works now, too. I don't understand. Closing unless I can reproduce and isolate it again.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.