[webkit-changes] [WebKit/WebKit] bfd8da: Only propagate partitioned cookies setting when tr...
Commit Queue
noreply at github.com
Fri Jan 3 08:04:17 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: bfd8da944bb52da73ff3a690c8fd5ab46296ea0f
https://github.com/WebKit/WebKit/commit/bfd8da944bb52da73ff3a690c8fd5ab46296ea0f
Author: Matthew Finkel <m_finkel at apple.com>
Date: 2025-01-03 (Fri, 03 Jan 2025)
Changed paths:
M Source/WebKit/NetworkProcess/NetworkSession.cpp
M Source/WebKit/UIProcess/WebsiteData/WebsiteDataStore.cpp
Log Message:
-----------
Only propagate partitioned cookies setting when tracking prevention is enabled
https://bugs.webkit.org/show_bug.cgi?id=285309
rdar://142279406
Reviewed by Charlie Wolfe.
The network process only supports changing the third party cookie blocking mode
when tracking prevention is enabled. We need to keep the blocking mode in the
web processes and network process synchronized, so this patch only propagates
the setting changes if the network process supports it.
Covered by existing tests.
* Source/WebKit/NetworkProcess/NetworkSession.cpp:
(WebKit::NetworkSession::setOptInCookiePartitioningEnabled):
* Source/WebKit/UIProcess/WebsiteData/WebsiteDataStore.cpp:
(WebKit::WebsiteDataStore::propagateSettingUpdates):
Canonical link: https://commits.webkit.org/288400@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list