Closed Bug 2077477 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 63194 - [Clear-Site-Data] Prevent cross-site fetch clearing unpartitioned data

Categories

(Core :: DOM: Security, task, P4)

task

Tracking

()

RESOLVED FIXED
160 Branch
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}

Component: web-platform-tests → DOM: Security
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

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

Tests Disabled in Gecko Infrastructure

Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch
You need to log in before you can comment on or make changes to this bug.