Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: fad98f457b71db4145defe3478d0fdd719ff6300
https://github.com/WebKit/WebKit/commit/fad98f457b71db4145defe3478d0fdd719ff6300
Author: Matthew Finkel <[email protected]>
Date: 2025-05-19 (Mon, 19 May 2025)
Changed paths:
M LayoutTests/http/tests/cookies/resources/setCookies.cgi
A
LayoutTests/http/tests/navigation/ping-attribute/cross-site-url-anchor-cookie-expected.txt
A
LayoutTests/http/tests/navigation/ping-attribute/cross-site-url-anchor-cookie-preexisting-cookie-expected.txt
A
LayoutTests/http/tests/navigation/ping-attribute/cross-site-url-anchor-cookie-preexisting-cookie.html
A
LayoutTests/http/tests/navigation/ping-attribute/cross-site-url-anchor-cookie.html
A
LayoutTests/http/tests/resourceLoadStatistics/only-partitioned-cookies-after-redirect-expected.txt
A
LayoutTests/http/tests/resourceLoadStatistics/only-partitioned-cookies-after-redirect.html
A
LayoutTests/http/tests/websocket/tests/hybi/websocket-allowed-setting-cookie-as-third-party-with-third-party-cookie-blocking.https-expected.txt
A
LayoutTests/http/tests/websocket/tests/hybi/websocket-allowed-setting-cookie-as-third-party-with-third-party-cookie-blocking.https.html
A
LayoutTests/http/tests/workers/service/basic-install-event-sw-fetch-third-party-expected.txt
A
LayoutTests/http/tests/workers/service/basic-install-event-sw-fetch-third-party.html
A
LayoutTests/http/tests/workers/service/resources/basic-install-event-waitUntil-resolve-worker-then-fetch.js
M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
M Tools/TestWebKitAPI/Tests/WebKitCocoa/ResourceLoadStatistics.mm
Log Message:
-----------
[cocoa] Disable CHIPS
https://bugs.webkit.org/show_bug.cgi?id=292371
rdar://149535707
Reviewed by Wenson Hsieh and Alex Christensen.
Before 288413@main, Apple platforms blocked all third-party cookies by default.
In that commit, we enabled CHIPS (opt-in partitioned cookies), and that
required allowing partitioned third-party cookies while rejecting unpartitioned
cookies. The mechanism for rejecting unpartitioned third-party cookies is
incomplete,
so this change disables CHIPS and returns to the previous shipping behavior.
We may land a different fix later or fix this in an underlying framework.
Adding some new tests that cover setting cross-site cookies in various
situations.
* LayoutTests/http/tests/cookies/resources/setCookies.cgi:
*
LayoutTests/http/tests/navigation/ping-attribute/cross-site-url-anchor-cookie-expected.txt:
Added.
*
LayoutTests/http/tests/navigation/ping-attribute/cross-site-url-anchor-cookie-preexisting-cookie-expected.txt:
Added.
*
LayoutTests/http/tests/navigation/ping-attribute/cross-site-url-anchor-cookie-preexisting-cookie.html:
Added.
*
LayoutTests/http/tests/navigation/ping-attribute/cross-site-url-anchor-cookie.html:
Added.
*
LayoutTests/http/tests/resourceLoadStatistics/only-partitioned-cookies-after-redirect-expected.txt:
Added.
*
LayoutTests/http/tests/resourceLoadStatistics/only-partitioned-cookies-after-redirect.html:
Added.
*
LayoutTests/http/tests/websocket/tests/hybi/websocket-allowed-setting-cookie-as-third-party-with-third-party-cookie-blocking.https-expected.txt:
Added.
*
LayoutTests/http/tests/websocket/tests/hybi/websocket-allowed-setting-cookie-as-third-party-with-third-party-cookie-blocking.https.html:
Added.
*
LayoutTests/http/tests/workers/service/basic-install-event-sw-fetch-third-party-expected.txt:
Added.
*
LayoutTests/http/tests/workers/service/basic-install-event-sw-fetch-third-party.html:
Added.
*
LayoutTests/http/tests/workers/service/resources/basic-install-event-waitUntil-resolve-worker-then-fetch.js:
Added.
(event.event.waitUntil.new.Promise):
(event.then.r.r.text.then):
* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* Tools/TestWebKitAPI/Tests/WebKitCocoa/ResourceLoadStatistics.mm:
(TEST(ResourceLoadStatistics, BlockUnpartitionedThirdPartyCookies)):
(TEST(ResourceLoadStatistics,
BlockUnpartitionedAndAllowPartitionedThirdPartyCookies)):
(cherry picked from commit d34e63ea0dd698ef0d3a3d779fbdfae02526126c)
Originally-landed-as: 8c26876e5fb1. rdar://151480153
Canonical link: https://commits.webkit.org/295121@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