[wpt-sync] Sync PR 63194 - [Clear-Site-Data] Prevent cross-site fetch clearing unpartitioned data
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 63194 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/63194
Details from upstream follow.
Ari Chivukula <arichiv@chromium.org> wrote:
[Clear-Site-Data] Prevent cross-site fetch clearing unpartitioned data
Currently, cross-site fetch requests with CSD headers clear
unpartitioned storage. This is incorrect, as they should only clear the
relevant partitioned storage. This CL ensures the StorageKey used for
CSD logic is set up properly with trusted data from the network service.Fixed: 566660676, 518053309, 550356947
Change-Id: I4b7e845a92d4ea09ff08da3342c57ec7d50d0f69
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8463605
Reviewed-by: mmenke \<mmenke@chromium.org>
Commit-Queue: Ari Chivukula \<arichiv@chromium.org>
Reviewed-by: Charlie Reis \<creis@chromium.org>
Auto-Submit: Ari Chivukula \<arichiv@chromium.org>
Reviewed-by: Lambros Lambrou \<lambroslambrou@chromium.org>
Reviewed-by: Erik Chen \<erikchen@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1709414}
| 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=99668
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Updated•1 month ago
|
| 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 : 2[GitHub] 47[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]
ERROR: 1
Chrome
OK : 2
FAIL : 2
Safari
OK : 2
PASS : 2
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
Firefox-only Failures
New Tests That Don't Pass
- /clear-site-data/executionContexts.sub.html [wpt.fyi]:
SKIP - /clear-site-data/storage.https.html [wpt.fyi]:
SKIP - /clear-site-data/no-cors-fetch-window.https.sub.html [wpt.fyi]:
ERROR(Chrome:OK, Safari:OK)
Tests Disabled in Gecko Infrastructure
https://hg.mozilla.org/mozilla-central/rev/da68e40814e1
https://hg.mozilla.org/mozilla-central/rev/744b566888aa
Description
•