[wpt-sync] Sync PR 63505 - Deflake WPT COOP iframe-popup-same-origin-to-* tests
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox160 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 63505 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/63505
Details from upstream follow.
Mike Taylor <miketaylr@chromium.org> wrote:
Deflake WPT COOP iframe-popup-same-origin-to-* tests
In resources/iframe-test.js:
- Run subtests sequentially with promise_test instead of
promise_test_parallel, and clean up each subtest's iframe and popup
via t.add_cleanup (waiting for the popup to acknowledge before
closing) instead of add_completion_callback. Previously, all 6
subtests in a variant ran concurrently and kept all 6 iframes and 6
popups alive polling /common/dispatcher/dispatcher.py until the entire
test file completed, saturating the 6-socket-per-origin HTTP/1.1 pool.- In the 'severed' opener state with window_open, poll popup.closed in
the iframe up to 2.5s instead of relying on a fixed 500ms timer that
could race cross-process WindowProxy detachment IPC under load.- Remove the obsolete unparameterized [ Skip Timeout ] entries for
iframe-popup-same-origin-to-unsafe-none.https.html and
iframe-popup-same-origin-to-same-origin.https.html, as well as the
Linux [ Failure Pass ] entry for
iframe-popup-same-origin-to-unsafe-none.https.html?*, from
TestExpectations.Bug: 40815983, 539889938
Change-Id: Idad1867ad8befaac0306f5834f51062f0d8b158e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8550153
Reviewed-by: Ari Chivukula \<arichiv@chromium.org>
Commit-Queue: Ari Chivukula \<arichiv@chromium.org>
Auto-Submit: Mike Taylor \<miketaylr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1715814}
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Comment 1•1 month ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=103231
| Assignee | ||
Comment 2•1 month ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 35 tests and 6 subtests
Status Summary
Firefox
OK : 35
PASS: 189
Chrome
OK : 35
PASS: 189
Safari
OK : 35
PASS: 189
Description
•