Closed Bug 1822904 Opened 2 years ago Closed 1 year ago

[wpt-sync] Sync PR 39039 - Reland "Make Clear-Site-Data: "cookies" respect third-party cookie blocking"

Categories

(Core :: DOM: Service Workers, task, P4)

task

Tracking

()

RESOLVED INVALID

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 39039 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/39039
Details from upstream follow.

Dylan Cutler <dylancutler@google.com> wrote:

Reland "Make Clear-Site-Data: "cookies" respect third-party cookie blocking"

This is a reland of commit d27d50661e822cb64daec040041b5eabd2642969

Original change's description:

Make Clear-Site-Data: "cookies" respect third-party cookie blocking

This will prevent Clear-Site-Data from being abused for cross-site
tracking 1 when partitioned cookies are enabled by default.

Old behavior: Clear-Site-Data could clear unpartitioned cookies from any context.

New behavior: Clear-Site-Data cannot clear unpartitioned cookies if it came from a response where 3P cookie blocking applies.

In both cases, CSD will delete partitioned cookies in the current partition.

Low-Coverage-Reason:Some files have trial changes that do not impact behavior.

Bug: 1416655
Change-Id: Ieed1e050f8f376b7d7704b4948c8f59adc21a17f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4312585
Reviewed-by: Nasko Oskov \<nasko@chromium.org>
Reviewed-by: Andrey Zaytsev \<andzaytsev@google.com>
Reviewed-by: Maks Orlovich \<morlovich@chromium.org>
Reviewed-by: Daniel Murphy \<dmurph@chromium.org>
Commit-Queue: Dylan Cutler \<dylancutler@google.com>
Reviewed-by: Christian Dullweber \<dullweber@chromium.org>
Reviewed-by: Oleh Lamzin \<lamzin@google.com>
Cr-Commit-Position: refs/heads/main@{#1118080}

Bug: 1416655
Change-Id: I19deff390906e1d2fb7f990543d8ea5c438b4717
Reviewed-on: https://chromium-review.googlesource.com/4345589
WPT-Export-Revision: bf02e1c192e97344f2191874b872b9df05850dcf

Component: web-platform-tests → DOM: Service Workers
Product: Testing → Core
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.