Open Bug 1774020 Opened 3 years ago Updated 2 years ago

Having PDFs set to open up in an external app causes double display with nested iframe/object

Categories

(Firefox :: File Handling, defect, P3)

defect

Tracking

()

People

(Reporter: mkaply, Unassigned)

References

()

Details

If you set PDFs to open externally and then visit:

https://www.fox10phoenix.com/news/man-dead-after-jumping-into-tempe-town-lake-police-say

The PDF is displayed embedded in the web page and you get a PDF opened externally automatically.

On Chrome, you just see a place holder that you click to open the PDF.

Per Gijs:

This is using

<object data-v-5dd61f2d="" data="https://static.fox10phoenix.com/www.fox10phoenix.com/content/uploads/2022/06/Officer-Transcript.pdf" type="application/pdf" width="100%"><iframe data-v-5dd61f2d="" src="https://static.fox10phoenix.com/www.fox10phoenix.com/content/uploads/2022/06/Officer-Transcript.pdf" style="border: medium none;" width="100%"><a data-v-5dd61f2d="" href="https://static.fox10phoenix.com/www.fox10phoenix.com/content/uploads/2022/06/Officer-Transcript.pdf" target="_blank" class="pdf--text">Click to open this PDF in a new window.</a></iframe></object>

so I expect the doubled-up behaviour is because of the <object> that also includes an <iframe> pointing to the same thing.

Severity: -- → S3
Priority: -- → P3
See Also: → 1655525
See Also: 1500404
You need to log in before you can comment on or make changes to this bug.