iFrame content is empty
Categories
(Core :: DOM: Core & HTML, defect, P3)
Tracking
()
People
(Reporter: standus, Unassigned)
References
(Depends on 1 open bug)
Details
(Keywords: parity-chrome, reproducible)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/82.0.4070.0 Safari/537.36
Steps to reproduce:
Please test this code in Firefox and Chrome.
https://jsfiddle.net/x9kb4hny/
At Chrome is works as expected and in iFrame is visible text. In FF not.
Actual results:
iFrame is empty.
Expected results:
iFrame not empty
Updated•4 years ago
|
Also <head> is empty. At Chrome is possible to add anything.
Comment 3•4 years ago
|
||
I have reproduced this issue on Windows 10 and Ubuntu 18 with all the last versions of the main channels. The "OK" is not displayed in Firefox browsers, while it is in Chrome.
Comment 4•4 years ago
|
||
I think this is the about:blank
load clobbering the DOM you add dynamically, but ICBW.
Comment 5•4 years ago
|
||
That's correct. See bug 543435.
Setting a load event listener on the iframe before appending it to the DOM and doing all the modifications from inside that load listener would help for this specific case.
Updated•4 years ago
|
Updated•2 years ago
|
Description
•