Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: ff0faf2c4d52aae405395b052b7c1472333ce48d
https://github.com/WebKit/WebKit/commit/ff0faf2c4d52aae405395b052b7c1472333ce48d
Author: Matthew Finkel <[email protected]>
Date: 2026-02-18 (Wed, 18 Feb 2026)
Changed paths:
M Source/WebKit/NetworkProcess/NetworkLoadChecker.cpp
M Source/WebKit/NetworkProcess/NetworkResourceLoadParameters.h
M
Source/WebKit/NetworkProcess/NetworkResourceLoadParameters.serialization.in
M Source/WebKit/WebProcess/Network/WebLoaderStrategy.cpp
Log Message:
-----------
Use tri-state mayBlockNetworkRequest for controlling blocking latch mode in
Network Process
https://bugs.webkit.org/show_bug.cgi?id=308052
rdar://170551008
Reviewed by Charlie Wolfe.
In 307413@main, the blocking behavior that happens in the Network Process may
still happen when the associated feature flag is disabled. This patch changes
the NetworkResourceLoadParameter to be a std::optional and let's us
differentiate between when the feature is disabled and when the domain is not
present on the fingerprinting script list (but the feature is still enabled).
Covered by existing tests.
* Source/WebKit/NetworkProcess/NetworkLoadChecker.cpp:
(WebKit::NetworkLoadChecker::shouldBlockForTrackingPolicy):
* Source/WebKit/NetworkProcess/NetworkResourceLoadParameters.h:
* Source/WebKit/NetworkProcess/NetworkResourceLoadParameters.serialization.in:
* Source/WebKit/WebProcess/Network/WebLoaderStrategy.cpp:
(WebKit::addParametersShared):
Canonical link: https://commits.webkit.org/307760@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications