Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 40f0e4a9c0c86e4b6d57138c5be19848bf0833c9
https://github.com/WebKit/WebKit/commit/40f0e4a9c0c86e4b6d57138c5be19848bf0833c9
Author: Matthew Finkel <[email protected]>
Date: 2026-06-11 (Thu, 11 Jun 2026)
Changed paths:
M LayoutTests/TestExpectations
M
LayoutTests/http/tests/cookies/accept-partitioned-first-and-third-party-cookies.https-expected.txt
M
LayoutTests/http/tests/cookies/accept-partitioned-first-and-third-party-cookies.https.html
M LayoutTests/http/tests/cookies/max-partitioned-cookies.https-expected.txt
M
LayoutTests/http/tests/cookies/multiple-cookies-with-partitioned.https.html
M
LayoutTests/imported/w3c/web-platform-tests/cookies/partitioned-cookies/partitioned-cookies.tentative.https-expected.txt
M LayoutTests/platform/ios/TestExpectations
M LayoutTests/platform/mac-wk2/TestExpectations
M LayoutTests/platform/mac/TestExpectations
M LayoutTests/platform/wk2/TestExpectations
M Source/WTF/wtf/PlatformHave.h
M Source/WebCore/platform/network/cocoa/NetworkStorageSessionCocoa.mm
M Source/WebKit/NetworkProcess/cocoa/NetworkTaskCocoa.mm
M Source/WebKit/UIProcess/API/APIHTTPCookieStore.h
M Source/WebKit/UIProcess/API/Cocoa/WKHTTPCookieStore.mm
M Source/WebKit/UIProcess/WebPageProxy.cpp
M Source/WebKit/UIProcess/WebProcessProxy.cpp
M Source/WebKit/UIProcess/WebsiteData/WebsiteDataStore.cpp
M Source/WebKit/UIProcess/WebsiteData/WebsiteDataStore.h
M Source/WebKit/WebProcess/WebPage/Cocoa/WebCookieCacheCocoa.mm
M Source/WebKit/WebProcess/WebPage/WebCookieCache.h
M Tools/TestWebKitAPI/Tests/WebKit/WKWebView/WKHTTPCookieStore.mm
Log Message:
-----------
[cocoa] Enable partitioned cookie and tests on 26.2+
https://bugs.webkit.org/show_bug.cgi?id=309758
rdar://172347313
Reviewed by Charlie Wolfe.
Enables partitioned cookies and tests on macOS Tahoe / iOS 26+.
Fix a few SafeCPP issues that weren't caught earlier.
Disable WKHTTPCookieStore.WebSocketCookies temporarily, I'll follow up with
another PR to re-enable it.
Also minor fix for one async test, and expand
accept-partitioned-first-and-third-party-cookies.https.html so it covers more
cases. The existing expectations were wrong, so I took this opportunity to
improve the test.
* LayoutTests/TestExpectations:
*
LayoutTests/http/tests/cookies/accept-partitioned-first-and-third-party-cookies.https-expected.txt:
*
LayoutTests/http/tests/cookies/accept-partitioned-first-and-third-party-cookies.https.html:
* LayoutTests/http/tests/cookies/max-partitioned-cookies.https-expected.txt:
* LayoutTests/http/tests/cookies/multiple-cookies-with-partitioned.https.html:
*
LayoutTests/imported/w3c/web-platform-tests/cookies/partitioned-cookies/partitioned-cookies.tentative.https-expected.txt:
* LayoutTests/platform/ios/TestExpectations:
* LayoutTests/platform/mac-wk2/TestExpectations:
* LayoutTests/platform/mac/TestExpectations:
* LayoutTests/platform/wk2/TestExpectations:
* Source/WTF/wtf/PlatformHave.h:
* Source/WebCore/platform/network/cocoa/NetworkStorageSessionCocoa.mm:
(WebCore::policyProperties):
* Source/WebKit/NetworkProcess/cocoa/NetworkTaskCocoa.mm:
(WebKit::NetworkTaskCocoa::setCookieTransformForThirdPartyRequest):
(WebKit::NetworkTaskCocoa::updateTaskWithStoragePartitionIdentifier):
* Source/WebKit/UIProcess/API/APIHTTPCookieStore.h:
* Source/WebKit/UIProcess/API/Cocoa/WKHTTPCookieStore.mm:
(-[WKHTTPCookieStore getAllCookies:]):
(-[WKHTTPCookieStore getCookiesForURL:completionHandler:]):
* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::preferencesDidChange):
* Source/WebKit/UIProcess/WebProcessProxy.cpp:
(WebKit::WebProcessProxy::addExistingWebPage):
(WebKit::WebProcessProxy::removeWebPage):
* Source/WebKit/UIProcess/WebsiteData/WebsiteDataStore.cpp:
(WebKit::WebsiteDataStore::computeIsOptInCookiePartitioningEnabled const):
* Source/WebKit/UIProcess/WebsiteData/WebsiteDataStore.h:
* Source/WebKit/WebProcess/WebPage/Cocoa/WebCookieCacheCocoa.mm:
(WebKit::WebCookieCache::inMemoryStorageSession):
(WebKit::WebCookieCache::setOptInCookiePartitioningEnabled):
* Source/WebKit/WebProcess/WebPage/WebCookieCache.h:
* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/WKHTTPCookieStore.mm:
(TEST(WKHTTPCookieStore, DISABLED_WebSocketCookies)):
(TEST(WKHTTPCookieStore, WebSocketCookies)): Deleted.
Canonical link: https://commits.webkit.org/315050@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications