Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 06ea73ee5bd2f2bf6588215fe07840abaf736344
https://github.com/WebKit/WebKit/commit/06ea73ee5bd2f2bf6588215fe07840abaf736344
Author: Matthew Finkel <[email protected]>
Date: 2026-02-12 (Thu, 12 Feb 2026)
Changed paths:
M Source/WebKit/NetworkProcess/NetworkLoadChecker.cpp
M Source/WebKit/NetworkProcess/NetworkSession.cpp
M Source/WebKit/NetworkProcess/NetworkSession.h
M Source/WebKit/Platform/cocoa/WebPrivacyHelpers.h
M Source/WebKit/Platform/cocoa/WebPrivacyHelpers.mm
Log Message:
-----------
Add support for blocking tracker domains in different situations
https://bugs.webkit.org/show_bug.cgi?id=307643
rdar://170205663
Reviewed by Charlie Wolfe.
Enhance the current tracker blocking logic so we can differentiate domains that
can only be blocked when advanced privacy are enabled.
* Source/WebKit/NetworkProcess/NetworkLoadChecker.cpp:
(WebKit::NetworkLoadChecker::shouldBlockForTrackingPolicy):
* Source/WebKit/NetworkProcess/NetworkSession.cpp:
(WebKit::NetworkSession::isRequestBlockable):
(WebKit::NetworkSession::shouldBlockRequestForTrackingPolicyAndUpdatePolicy):
* Source/WebKit/NetworkProcess/NetworkSession.h:
* Source/WebKit/Platform/cocoa/WebPrivacyHelpers.h:
* Source/WebKit/Platform/cocoa/WebPrivacyHelpers.mm:
(WebKit::configureForAdvancedPrivacyProtections):
(WebKit::isRequestBlockable):
Canonical link: https://commits.webkit.org/307413@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications