Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 37a64f17c44f9fe71796c5236d1ba4decebd898f
      
https://github.com/WebKit/WebKit/commit/37a64f17c44f9fe71796c5236d1ba4decebd898f
  Author: Pouneh Bahrami <[email protected]>
  Date:   2025-11-13 (Thu, 13 Nov 2025)

  Changed paths:
    M Source/WebKit/UIProcess/API/Cocoa/WKWebViewPrivate.h
    M Source/WebKit/UIProcess/API/mac/WKWebViewMac.mm
    M Tools/TestWebKitAPI/Tests/WebKitCocoa/EventAttribution.mm

  Log Message:
  -----------
  [experimental] Implementation and test for new macOS PCM app-to-web
rdar://163961938
https://bugs.webkit.org/show_bug.cgi?id=302208

Reviewed by Alex Christensen and Matthew Finkel.

Previously in 233604@main, we added support for PCM app-to-web on iOS. This 
patch adds experimental support for app-to-web attribution on macOS. While the 
iOS implementation extracts the properties from an UIAttribution object, on 
macOS we directly receive the
atributes as parameters.

Test: Tools/TestWebKitAPI/Tests/WebKitCocoa/EventAttribution.mm
* Source/WebKit/UIProcess/API/Cocoa/WKWebViewPrivate.h:
* Source/WebKit/UIProcess/API/mac/WKWebViewMac.mm:
(-[WKWebView 
_storePrivateClickMeasurementWithSourceID:destinationURL:reportEndpoint:]):
* Tools/TestWebKitAPI/Tests/WebKitCocoa/EventAttribution.mm:
(TestWebKitAPI::TEST(PrivateClickMeasurement, MeasureSafariIsDefault)):

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



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

Reply via email to