Closed
Bug 2050063
Opened 2 months ago
Closed 2 months ago
setTimeout on detached iframes throws "Component not initialized" nsresult: "0xc1f30001 (NS_ERROR_NOT_INITIALIZED)"
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
154 Branch
| Tracking | Status | |
|---|---|---|
| firefox154 | --- | fixed |
People
(Reporter: jrmuizel, Assigned: farre)
References
(Blocks 1 open bug)
Details
(Keywords: webcompat:platform-bug)
User Story
user-impact-score:900
Attachments
(2 files, 1 obsolete file)
See the attached test case.
Salesforce's Lightning Web Security uses detached iframes as a sandbox and having setTimeout throw an exception can break a variety of things.
Comment 1•2 months ago
|
||
Do the timers actually run in other browsers? Or are they no-op?
Flags: needinfo?(jmuizelaar)
Updated•2 months ago
|
Keywords: webcompat:platform-bug
| Reporter | ||
Comment 2•2 months ago
|
||
Here's a simpler test case showing the problem.
Attachment #9600852 -
Attachment is obsolete: true
Flags: needinfo?(jmuizelaar)
| Reporter | ||
Comment 3•2 months ago
|
||
(In reply to Olli Pettay [:smaug][bugs@pettay.fi] from comment #1)
Do the timers actually run in other browsers? Or are they no-op?
The timers don't seem to run in other browsers.
| Reporter | ||
Updated•2 months ago
|
Updated•2 months ago
|
User Story: (updated)
| Assignee | ||
Updated•2 months ago
|
Assignee: nobody → afarre
Status: NEW → ASSIGNED
| Assignee | ||
Comment 4•2 months ago
|
||
| Assignee | ||
Updated•2 months ago
|
Severity: -- → S3
Pushed by afarre@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/4dd354af825c
https://hg.mozilla.org/integration/autoland/rev/9a4c69cd20e2
Don't throw when calling setTimeout on detached window. r=dom-core-reviewers,smaug
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/60902 for changes under testing/web-platform/tests
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
status-firefox154:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 154 Branch
Upstream PR merged by moz-wptsync-bot
Updated•1 month ago
|
QA Whiteboard: [qa-triage-done-c155/b154]
You need to log in
before you can comment on or make changes to this bug.
Description
•