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)

defect

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: nobody → afarre
Status: NEW → ASSIGNED
Summary: assertBothRejectDOM expects Promise.all to handle calback from dying windows. → assertBothRejectDOM expects Promise.all to handle callback from dying windows.

Introduces waitForAllLenient, which behaves similarly to Promise.all,
but allows for promises from a detached iframe's realm to participate.

Severity: -- → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: