Open
Bug 1972974
Opened 15 hours ago
Updated 9 hours ago
assertBothRejectDOM expects Promise.all to handle callback from dying windows.
Categories
(Core :: DOM: Navigation, defect)
Core
DOM: Navigation
Tracking
()
ASSIGNED
People
(Reporter: farre, Assigned: farre)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
assertBothRejectDOM is used in places where we expect a callback attached to promise from a removed iframe to be handled, e.g. navigation-api/navigation-methods/return-value/reload-already-detached.html. This doesn't work because of how Promise.all
is specified, see this discussion.
assertBothRejectDOM
can be re-written to not use Promise.all
, which is the proposed solution.
Assignee | ||
Updated•14 hours ago
|
Assignee: nobody → afarre
Status: NEW → ASSIGNED
Assignee | ||
Updated•12 hours ago
|
Summary: assertBothRejectDOM expects Promise.all to handle calback from dying windows. → assertBothRejectDOM expects Promise.all to handle callback from dying windows.
Assignee | ||
Comment 1•12 hours ago
|
||
Introduces waitForAllLenient
, which behaves similarly to Promise.all,
but allows for promises from a detached iframe's realm to participate.
Assignee | ||
Comment 2•12 hours ago
|
||
Updated•9 hours ago
|
Severity: -- → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•