[webkit-changes] [WebKit/WebKit] 1ca850: Upstream some code for Private Click Measurement i...

Wenson Hsieh noreply at github.com
Mon Oct 17 14:49:46 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1ca85009477922d097c81626823d9e51a2029103
      https://github.com/WebKit/WebKit/commit/1ca85009477922d097c81626823d9e51a2029103
  Author: Wenson Hsieh <wenson_hsieh at apple.com>
  Date:   2022-10-17 (Mon, 17 Oct 2022)

  Changed paths:
    M Source/WebCore/PAL/pal/spi/cf/CFNetworkSPI.h
    M Source/WebKit/NetworkProcess/cocoa/NetworkDataTaskCocoa.mm

  Log Message:
  -----------
  Upstream some code for Private Click Measurement in NetworkDataTask
https://bugs.webkit.org/show_bug.cgi?id=246642
rdar://101254515

Reviewed by Megan Gardner.

Upstream some PCM code from WebKitAdditions for setting the `_needsNetworkTrackingPrevention`
property on URL requests.

* Source/WebCore/PAL/pal/spi/cf/CFNetworkSPI.h:
* Source/WebKit/NetworkProcess/cocoa/NetworkDataTaskCocoa.mm:
(WebKit::setPCMDataCarriedOnRequest):

Note: we also replace `-_setIsKnownTracker:`, in the original upstreamed implementation, with a call
to `-_setNeedsNetworkTrackingPrevention:`. The former was deprecated in favor of the latter in
CFNetwork.

(processPCMRequest): Deleted.

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




More information about the webkit-changes mailing list