document.writeln not working for child windows
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
People
(Reporter: peter.feige, Unassigned)
Details
Attachments
(1 file)
|
445 bytes,
text/html
|
Details |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:79.0) Gecko/20100101 Firefox/79.0
Steps to reproduce:
Load the attached HTML file into firefox and click on the link "open child window".
Actual results:
A child window pops up with the document text of the PARENT window:
"I am the PARENT window."
Expected results:
A child window pops up with the document text written to the CHILD window:
"I am the CHILD window."
Comment 1•5 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
The attachment behaves according to the expected results for me.
| Reporter | ||
Comment 3•5 years ago
|
||
But the expected behaviour is NOT the same like the actual behaviour. Expected ist the text with CHILD, actual the text with PARENT is written, which is only present in the parent window. The document content from the parent window is displayed in the child window. This is wrong. The child window should contain the text written to it in the javascript code.
| Reporter | ||
Comment 4•5 years ago
|
||
(In reply to Peter Feige from comment #3)
But the expected behaviour is NOT the same like the actual behaviour. Expected ist the text with CHILD, actual the text with PARENT is written, which is only present in the parent window. The document content from the parent window is displayed in the child window. This is wrong. The child window should contain the text written to it in the javascript code.
OK, I cannot reproduce it any more.
Sorry, seems to be my fault...
Description
•