[wpt-sync] Sync PR 63504 - [wpt] Fix guaranteed timeout in COOP access-reporting/reporting-observer
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 63504 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/63504
Details from upstream follow.
Mike Taylor <miketaylr@chromium.org> wrote:
[wpt] Fix guaranteed timeout in COOP access-reporting/reporting-observer
The last subtest ("Access from cross-site iframe") expects no
coop-access-violation report and callsreceive(this_window_token, 2000)
expecting it to resolve with "timeout". However, dispatcher.js's
receive()only takes a uuid and polls the dispatcher forever; the 2000
is silently ignored. Because Chromium correctly never dispatches a report
here, the subtest can never complete and the whole test always hits the
harness timeout (150s in Debug) and gets its content_shell killed.Use the directory's existing
receiveReport()helper from
reporting-common.js instead, which races the dispatcher against a 3s
step_timeout and returns "timeout" when nothing arrives, so the subtest
completes in a few seconds. The test now passes deterministically on
Linux, so drop the [ Pass Timeout ] expectation.Bug: 40180286
Change-Id: Ia92e732d80c25b46e66d8520b5e9b7b67d14ebe0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8547071
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@{#1715811}
| 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=103222
| 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 1 tests and 4 subtests
Status Summary
Firefox
FAIL : 2
TIMEOUT: 2
NOTRUN : 1
Chrome
OK : 1
PASS : 4
Safari
FAIL : 2
TIMEOUT: 2
NOTRUN : 1
Links
Details
New Tests That Don't Pass
- /html/cross-origin-opener-policy/reporting/access-reporting/reporting-observer.html [wpt.fyi]:
TIMEOUT(Chrome:OK, Safari:TIMEOUT)- Opener COOP:
FAIL(Chrome:PASS, Safari:FAIL) - Openee COOP:
FAIL(Chrome:PASS, Safari:FAIL) - Access from same-origin iframe:
TIMEOUT(Chrome:PASS, Safari:TIMEOUT) - Access from cross-site iframe:
NOTRUN(Chrome:PASS, Safari:NOTRUN)
- Opener COOP:
Description
•