Open
Bug 2021289
Opened 2 months ago
Updated 1 month ago
setTimeout on a removed iframe window throws NS_ERROR_NOT_INITIALIZED, while no-op in Chrome
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
NEW
People
(Reporter: saschanaz, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: webcompat:platform-bug)
User Story
user-impact-score:1000
Run data:text/html,<iframe id="iframe"></iframe><script>var win2 = iframe.contentWindow; iframe.remove(); win2.setTimeout(() => console.log("foo"), 0)</script>
Chrome: Nothing happens, setTimeout is silently ignored
Firefox: Throws NS_ERROR_NOT_INITIALIZED.
Updated•2 months ago
|
Keywords: webcompat:platform-bug
Updated•2 months ago
|
User Story: (updated)
Comment 1•2 months ago
|
||
vhilla, did we end up changing this recently?
Severity: -- → S3
Flags: needinfo?(vhilla)
You need to log in
before you can comment on or make changes to this bug.
Description
•