[wpt-sync] Sync PR 63472 - [wpt] Make clear-site-data/executionContexts test fail fast
Categories
(Core :: DOM: Security, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox160 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 63472 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/63472
Details from upstream follow.
Mike Taylor <miketaylr@chromium.org> wrote:
[wpt] Make clear-site-data/executionContexts test fail fast
executionContexts.sub.html waits unconditionally for an iframe to be
reloaded by a 'Clear-Site-Data: "executionContexts"' response. Chromium
does not implement the 'executionContexts' type (it is ignored with an
'Unrecognized type' console warning, and '*' does not include it), and
neither does any other shipping engine: Firefox removed it, and
w3c/webappsec-clear-site-data#59 proposes dropping it from the spec. The
test therefore always runs into the harness timeout (and a content_shell
kill) on every bot.Bound each wait with test.step_timeout(1000) so unsupported
implementations produce a deterministic per-subtest FAIL in a few
seconds, only start the clock once the response carrying the header has
been received, remove each subtest's iframe on cleanup so a late message
cannot leak into the next subtest, mark the test as timeout=long so the
two sequential negative waits have ample headroom on slow bots, and drop
the no-op assert_true(true) calls. Add the Chromium baseline and remove
the [ Timeout ] expectation.Bug: crbug.com/40475877
Change-Id: I73c2a4794c6a209f59122851b01796df3740c4d7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8544830
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@{#1715435}
| 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=103199
| Assignee | ||
Comment 2•1 month ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 15 tests and 1 subtests
Status Summary
Firefox
OK : 1[GitHub] 12[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS : 47
FAIL : 2
ERROR: 1
Chrome
OK : 1
FAIL : 2
Safari
OK : 1
FAIL : 2
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /clear-site-data/executionContexts.sub.html [wpt.fyi]:
OK[GitHub],SKIP[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] (Chrome:OK, Safari:OK)- executionContexts triggers the reload of contexts:
FAIL(Chrome:FAIL, Safari:FAIL) -
- triggers the reload of contexts:
FAIL(Chrome:FAIL, Safari:FAIL)
- triggers the reload of contexts:
- executionContexts triggers the reload of contexts:
- /clear-site-data/storage.https.html [wpt.fyi]:
SKIP - /clear-site-data/no-cors-fetch-window.https.sub.html [wpt.fyi]:
ERROR
Tests Disabled in Gecko Infrastructure
- /clear-site-data/executionContexts.sub.html [wpt.fyi]:
OK[GitHub],SKIP[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] (Chrome:OK, Safari:OK) - /clear-site-data/storage.https.html [wpt.fyi]:
SKIP
Description
•