Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 48f07755b7159a336fdb4876c0c3392596d22084
https://github.com/WebKit/WebKit/commit/48f07755b7159a336fdb4876c0c3392596d22084
Author: Matthew Finkel <[email protected]>
Date: 2026-02-10 (Tue, 10 Feb 2026)
Changed paths:
M Source/WebCore/loader/ResourceLoader.cpp
M Source/WebCore/page/ScriptTrackingPrivacyCategory.cpp
M Tools/TestWebKitAPI/Tests/WebKitCocoa/ScriptTrackingPrivacyTests.mm
Log Message:
-----------
Extend Network Request blocking to all resource requests
https://bugs.webkit.org/show_bug.cgi?id=307349
rdar://169976717
Reviewed by Charlie Wolfe.
Following 305956@main, this patch includes blocking all resource requests when
the protection is enabled.
Test: Tools/TestWebKitAPI/Tests/WebKitCocoa/ScriptTrackingPrivacyTests.mm
* Source/WebCore/loader/ResourceLoader.cpp:
(WebCore::ResourceLoader::willSendRequestInternal):
* Source/WebCore/page/ScriptTrackingPrivacyCategory.cpp:
(WebCore::makeLogMessage):
* Tools/TestWebKitAPI/Tests/WebKitCocoa/ScriptTrackingPrivacyTests.mm:
(TestWebKitAPI::setUpWebViewForFingerprintingTests):
(TestWebKitAPI::getBundleResourceAsEncodedString):
(TestWebKitAPI::(ScriptTrackingPrivacyTests, ImgElementLoadBlocked)):
(TestWebKitAPI::(ScriptTrackingPrivacyTests, ScriptElementLoadBlocked)):
Canonical link: https://commits.webkit.org/307220@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications