Window opened as about:blank immediately fires unload event
Categories
(Core :: DOM: Events, defect)
Tracking
()
People
(Reporter: benjpas, Unassigned)
References
Details
Steps to reproduce:
Open https://bpasero.github.io/firefox-window-open/ and observe the console for a "unload" message.
The sourcecode is available here: https://github.com/bpasero/firefox-window-open/blob/main/index.html
Actual results:
The window "onunload" event fired.
Expected results:
No unload event should have fired. Chrome and Safari do not fire this event.
If the code changes to "window.open("", undefined, "width=800,height=600");", the event is not fired.
Comment 1•1 year ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::DOM: Events' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•1 year ago
|
||
Hi Henri, is this related to your about:blank work?
Comment 3•1 year ago
|
||
This is a symptom of bug 543435 remaining unfixed, yes.
Comment 4•5 months ago
|
||
Reproducible on 146.0b7 and fixed on Nightly after bug 543435 was merged
Description
•