Closed Bug 1874007 Opened 9 months ago Closed 4 months ago

Fix WPT /storage-access-api/ when blocking 3pc be default in TCP

Categories

(Core :: Privacy: Anti-Tracking, task)

task

Tracking

()

RESOLVED FIXED
129 Branch
Tracking Status
firefox129 --- fixed

People

(Reporter: bvandersloot, Assigned: lschwarz)

References

Details

Attachments

(1 file, 1 obsolete file)

There are a mix of failures here. Some may be tests that need fixing and others may indicate incorrect behavior of our blocking's interaction with the Storage Access API. We expect active unpartitioned storage access to allow 3pc use.

requestStorageAccess-ABA.tentative.sub.https.window.js (html) - Uses CanAccessCookiesViaHTTP() and CanAccessCookiesViaJS() to check cookie access from third-party iframe, set cookies do not have "Partitioned".

requestStorageAccess-cross-origin-iframe-navigation.sub.https.window.js (html) - Uses HasUnpartitionedCookie(), SetFirstPartyCookieAndUnsetStorageAccessPermission() to check cookie access from third-part ifram, cookies do not have "Partitioned".

requestStorageAccess-cross-site-iframe.sub.https.window.js (html) - Uses CanAccessCookiesViaHTTP() and CanAccessCookiesViaJS() to check cookie access from third-party iframe, set cookies do not have "Partitioned".

requestStorageAccess-cross-site-sibling-iframes.sub.https.window.js (html) - Uses HasUnpartitionedCookie(), SetFirstPartyCookie...() as well as setting and reading cookies dircetly to check cookie access from third-party iframe, cookies do not have "Partitioned".

requestStorageAccess-dedicated-worker.tentative.sub.https.window.js (html) - Uses HasUnpartitionedCookie(), SetFirstPartyCookieAndUnsetStorageAccessPermission() to check cookie access from third-part ifram, cookies do not have "Partitioned".

requestStorageAccess-nested-cross-site-iframe.sub.https.window.js (html) - Uses CanAccessCookiesViaHTTP() and CanAccessCookiesViaJS() to check cookie access from third-party iframe, set cookies do not have "Partitioned".

requestStorageAccess-web-socket.tentative.sub.https.window.js (html) - Uses HasUnpartitionedCookie(), SetFirstPartyCookieAndUnsetStorageAccessPermission() to check cookie access from third-part ifram, cookies do not have "Partitioned".

storageAccess.testdriver.sub.html - Uses CanFrameWriteCookie() to check cookie access from third-party, passes with optInPartitioning enabled, since cookies are set without "Partitioned", before cookies were set because of dFPI which lead to the test failing.

All mentioned functions found in https://searchfox.org/mozilla-central/source/testing/web-platform/tests/storage-access-api/helpers.js#133 after this line.

Assignee: nobody → lschwarz
Status: NEW → ASSIGNED
Attachment #9395806 - Attachment is obsolete: true

The initial failures from below run no longer reproduce, the patch removes an exception for a test that now passes:
Failing run:
https://treeherder.mozilla.org/jobs?repo=try&revision=926890d0114834b777f592b60fad8fc0645d8b20

Recent run:
https://treeherder.mozilla.org/jobs?repo=try&revision=74c771ffbf16ca1e45d48e6302cde39616f1c8ee

Recent run of recently failing tests + removed exception patch:
https://treeherder.mozilla.org/jobs?repo=try&revision=5ed1b7afef15b894a95345638cc6932df4cb14d6

Pushed by lschwarz@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/497a7a2f3633 Remove exception for passing WPT storage-access-api/storageAccess.testdriver.sub.html test. r=bvandersloot

Backed out for causing wpt failures on storageAccess.testdriver.sub.html

Backout link

Push with failures

Failure log

Flags: needinfo?(lschwarz)
Attachment #9404808 - Attachment description: Bug 1874007 - Remove exception for passing WPT storage-access-api/storageAccess.testdriver.sub.html test. r?bvandersloot → Bug 1874007 - Remove exception for passing WPT storage-access-api/storageAccess.testdriver.sub.html test when blocking 3pc by default. r?bvandersloot
Flags: needinfo?(lschwarz)
Pushed by lschwarz@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/303d3d1886d2 Remove exception for passing WPT storage-access-api/storageAccess.testdriver.sub.html test when blocking 3pc by default. r=bvandersloot
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: