Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d4033745346df8821905ee103002aa62a28a41c8
      
https://github.com/WebKit/WebKit/commit/d4033745346df8821905ee103002aa62a28a41c8
  Author: Charlie Wolfe <[email protected]>
  Date:   2026-07-02 (Thu, 02 Jul 2026)

  Changed paths:
    M Source/WebKit/NetworkProcess/NetworkLoadChecker.cpp
    M Tools/TestWebKitAPI/Tests/WebKit/WKWebView/ScriptTrackingPrivacyTests.mm

  Log Message:
  -----------
  Gate script tracking privacy network request blocking on Resource Load 
Statistics
https://bugs.webkit.org/show_bug.cgi?id=318388
rdar://181175224

Reviewed by Matthew Finkel.

Tie the blocking gated by ScriptTrackingPrivacyNetworkRequestBlockingEnabled to 
tracking prevention:
when Resource Load Statistics is disabled on the network session, don't block 
requests to targeted
domains.

Test: Tools/TestWebKitAPI/Tests/WebKit/WKWebView/ScriptTrackingPrivacyTests.mm

* Source/WebKit/NetworkProcess/NetworkLoadChecker.cpp:
(WebKit::NetworkLoadChecker::shouldBlockForTrackingPolicy):
* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/ScriptTrackingPrivacyTests.mm:
(TestWebKitAPI::setUpWebViewForFingerprintingTests):
(TestWebKitAPI::(ScriptTrackingPrivacyTests, CrossSiteFetchBlocked)):
(TestWebKitAPI::(ScriptTrackingPrivacyTests, 
CrossSiteFetchNotBlockedWhenResourceLoadStatisticsDisabled)):

Canonical link: https://commits.webkit.org/316460@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to