Closed Bug 1972990 Opened 1 year ago Closed 1 year ago

Add testcase for promise and detached iframe

Categories

(Core :: DOM: Core & HTML, task)

task

Tracking

()

RESOLVED FIXED
142 Branch
Tracking Status
firefox142 --- fixed

People

(Reporter: arai, Assigned: arai)

References

Details

Attachments

(1 external file)

for https://github.com/whatwg/html/issues/11252#issuecomment-2986661997

As discovered in bug 1663090 and https://github.com/whatwg/html/issues/11252 , promise reaction jobs with detached iframe's realm should be skipped per spec.
We should have WPT testcase for this behavior, so that it will catch interop issues.

Things to cover:

  • reaction job, with handlers from detached iframe
  • thenable job with "then" function from detached iframe
  • Promise.resolve vs Promise.reject behavior difference
  • Promise.resolve internally performed inside combinator functions (Promise.all etc)
Pushed by arai_a@mac.com: https://github.com/mozilla-firefox/firefox/commit/3fe2ae784b49 https://hg.mozilla.org/integration/autoland/rev/c54ffd11b3db Add testcases for the interaction between promise jobs and detached iframe. r=smaug,zcorpan
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/53364 for changes under testing/web-platform/tests
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 142 Branch
Upstream PR merged by moz-wptsync-bot
Upstream PR merged by moz-wptsync-bot
QA Whiteboard: [qa-triage-done-c143/b142]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: