[webkit-changes] [WebKit/WebKit] 095b8c: Add SPI to toggle the Private Click Measurement de...

Patrick Angle noreply at github.com
Mon Feb 6 09:54:01 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 095b8c66495be019cca27f5c5e02491095f00e77
      https://github.com/WebKit/WebKit/commit/095b8c66495be019cca27f5c5e02491095f00e77
  Author: Patrick Angle <pangle at apple.com>
  Date:   2023-02-06 (Mon, 06 Feb 2023)

  Changed paths:
    M Source/WebKit/UIProcess/API/Cocoa/WKPreferences.mm
    M Source/WebKit/UIProcess/API/Cocoa/WKPreferencesPrivate.h
    M Source/WebKit/UIProcess/API/Cocoa/WKWebsiteDataStore.mm
    M Source/WebKit/UIProcess/API/Cocoa/WKWebsiteDataStorePrivate.h
    M Tools/TestWebKitAPI/Tests/WebKitCocoa/EventAttribution.mm

  Log Message:
  -----------
  Add SPI to toggle the Private Click Measurement debug mode so that it can be toggled in the same way that ITP Debug Mode can
https://bugs.webkit.org/show_bug.cgi?id=250289
rdar://103996503

Reviewed by John Wilander.

* Source/WebKit/UIProcess/API/Cocoa/WKPreferences.mm:
(-[WKPreferences _privateClickMeasurementDebugModeEnabled]):
(-[WKPreferences _setPrivateClickMeasurementDebugModeEnabled:]):
* Source/WebKit/UIProcess/API/Cocoa/WKPreferencesPrivate.h:

* Source/WebKit/UIProcess/API/Cocoa/WKWebsiteDataStore.mm:
(-[WKWebsiteDataStore _setPrivateClickMeasurementDebugModeEnabled:]):
* Source/WebKit/UIProcess/API/Cocoa/WKWebsiteDataStorePrivate.h:
- Rename setter to reflect that it is used for more than testing. The only usage of this SPI currently is in WebKit tests.

* Tools/TestWebKitAPI/Tests/WebKitCocoa/EventAttribution.mm:
(TestWebKitAPI::TEST):
(TestWebKitAPI::setupSKAdNetworkTest):
- Adopt the renamed `_setPrivateClickMeasurementDebugModeEnabled`.

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




More information about the webkit-changes mailing list