Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a67594c5a9d574c94f84063d065986bedf70de81
      
https://github.com/WebKit/WebKit/commit/a67594c5a9d574c94f84063d065986bedf70de81
  Author: Charlie Wolfe <[email protected]>
  Date:   2025-08-14 (Thu, 14 Aug 2025)

  Changed paths:
    M LayoutTests/imported/w3c/web-platform-tests/storage-access-api/helpers.js
    M 
LayoutTests/imported/w3c/web-platform-tests/storage-access-api/requestStorageAccess-cross-origin-fetch.sub.https.window.js
    M 
LayoutTests/imported/w3c/web-platform-tests/storage-access-api/requestStorageAccess-cross-origin-iframe-navigation-relax.sub.https.window-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/storage-access-api/requestStorageAccess-cross-origin-iframe-navigation-relax.sub.https.window.js
    M 
LayoutTests/imported/w3c/web-platform-tests/storage-access-api/requestStorageAccess-cross-origin-iframe-navigation.sub.https.window-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/storage-access-api/requestStorageAccess-cross-origin-iframe-navigation.sub.https.window.js
    M 
LayoutTests/imported/w3c/web-platform-tests/storage-access-api/requestStorageAccess-cross-site-fetch.sub.https.window-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/storage-access-api/requestStorageAccess-cross-site-fetch.sub.https.window.js
    M 
LayoutTests/imported/w3c/web-platform-tests/storage-access-api/requestStorageAccess-cross-site-sibling-iframes.sub.https.window-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/storage-access-api/requestStorageAccess-cross-site-sibling-iframes.sub.https.window.js
    M 
LayoutTests/imported/w3c/web-platform-tests/storage-access-api/requestStorageAccess-dedicated-worker.sub.https.window-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/storage-access-api/requestStorageAccess-dedicated-worker.sub.https.window.js
    M 
LayoutTests/imported/w3c/web-platform-tests/storage-access-api/requestStorageAccess-web-socket.sub.https.window-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/storage-access-api/requestStorageAccess-web-socket.sub.https.window.js
    M 
LayoutTests/imported/w3c/web-platform-tests/storage-access-api/requestStorageAccess.sub.https.window.js
    A 
LayoutTests/imported/w3c/web-platform-tests/storage-access-api/resources/set-document-cookie.html
    M 
LayoutTests/imported/w3c/web-platform-tests/storage-access-api/storage-access-headers.tentative.https.sub.window.js

  Log Message:
  -----------
  Storage Access API tests should set a cookie from a first-party context 
before setting cross-site cookies
https://bugs.webkit.org/show_bug.cgi?id=297352
rdar://158246663

Reviewed by Anne van Kesteren.

Safari’s cookie policy requires a cookie to be set in a first-party context 
before any cross-site cookie
can be set. Several Storage Access API tests fail because of this policy. This 
patch updates the tests to
set cookies in a first-party context first, rather than in a cross-site iframe.

Tests will not progress until PR #49349 lands, which will allow tests to 
control third-party cookie
blocking in WebKit.

* LayoutTests/imported/w3c/web-platform-tests/storage-access-api/helpers.js:
(async SetFirstPartyCookie):
(async SetFirstPartyCookieAndUnsetStorageAccessPermission): Deleted.
(async HasUnpartitionedCookie): Deleted.
* 
LayoutTests/imported/w3c/web-platform-tests/storage-access-api/requestStorageAccess-cross-origin-fetch.sub.https.window.js:
(async return):
(async SetUpResponderFrame):
* 
LayoutTests/imported/w3c/web-platform-tests/storage-access-api/requestStorageAccess-cross-origin-iframe-navigation-relax.sub.https.window-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/storage-access-api/requestStorageAccess-cross-origin-iframe-navigation-relax.sub.https.window.js:
(async promise_test):
* 
LayoutTests/imported/w3c/web-platform-tests/storage-access-api/requestStorageAccess-cross-origin-iframe-navigation.sub.https.window-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/storage-access-api/requestStorageAccess-cross-origin-iframe-navigation.sub.https.window.js:
(async promise_test):
* 
LayoutTests/imported/w3c/web-platform-tests/storage-access-api/requestStorageAccess-cross-site-fetch.sub.https.window-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/storage-access-api/requestStorageAccess-cross-site-fetch.sub.https.window.js:
(async return):
(async SetUpResponderFrame):
* 
LayoutTests/imported/w3c/web-platform-tests/storage-access-api/requestStorageAccess-cross-site-sibling-iframes.sub.https.window-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/storage-access-api/requestStorageAccess-cross-site-sibling-iframes.sub.https.window.js:
(async const):
* 
LayoutTests/imported/w3c/web-platform-tests/storage-access-api/requestStorageAccess-dedicated-worker.sub.https.window-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/storage-access-api/requestStorageAccess-dedicated-worker.sub.https.window.js:
(async return):
(async SetUpResponderFrame):
* 
LayoutTests/imported/w3c/web-platform-tests/storage-access-api/requestStorageAccess-web-socket.sub.https.window-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/storage-access-api/requestStorageAccess-web-socket.sub.https.window.js:
(async promise_test):
* 
LayoutTests/imported/w3c/web-platform-tests/storage-access-api/requestStorageAccess.sub.https.window.js:
(async CommonSetup):
(canUseAutogrant.promise_test.async t):
* 
LayoutTests/imported/w3c/web-platform-tests/storage-access-api/resources/set-document-cookie.html:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/storage-access-api/storage-access-headers.tentative.https.sub.window.js:
(async promise_test):

Canonical link: https://commits.webkit.org/298703@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to