Skip to content

Conversation

whsieh
Copy link
Member

@whsieh whsieh commented Oct 17, 2022

1ca8500

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

112fec9

Misc iOS, tvOS & watchOS macOS Linux Windows
✅ 🧪 style ✅ 🛠 ios ✅ 🛠 mac ✅ 🛠 wpe 🛠 🧪 win
✅ 🧪 bindings ✅ 🛠 ios-sim ✅ 🛠 mac-debug ✅ 🛠 gtk ✅ 🛠 wincairo
✅ 🧪 webkitperl 🧪 ios-wk2 ✅ 🛠 mac-AS-debug ✅ 🧪 gtk-wk2
🧪 api-ios 🧪 api-mac 🧪 api-gtk
✅ 🛠 tv 🧪 mac-wk1
✅ 🛠 tv-sim 🧪 mac-wk2
✅ 🛠 🧪 merge ✅ 🛠 watch 🧪 mac-AS-debug-wk2
✅ 🛠 watch-sim ✅ 🧪 mac-wk2-stress

@whsieh whsieh requested a review from cdumez as a code owner October 17, 2022 19:05
@whsieh whsieh self-assigned this Oct 17, 2022
@whsieh whsieh added Platform Portability improvements and other general platform improvements not driven directly by site bugs. WebKit Nightly Build labels Oct 17, 2022
@whsieh
Copy link
Member Author

whsieh commented Oct 17, 2022

Thanks for the review!

@whsieh whsieh added the merge-queue Applied to send a pull request to merge-queue label Oct 17, 2022
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
@webkit-commit-queue
Copy link
Collaborator

Committed 255656@main (1ca8500): https://commits.webkit.org/255656@main

Reviewed commits have been landed. Closing PR #5455 and removing active labels.

@webkit-early-warning-system webkit-early-warning-system merged commit 1ca8500 into WebKit:main Oct 17, 2022
@webkit-commit-queue webkit-commit-queue removed the merge-queue Applied to send a pull request to merge-queue label Oct 17, 2022
@whsieh whsieh deleted the eng/246642 branch May 17, 2024 22:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Platform Portability improvements and other general platform improvements not driven directly by site bugs.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants