Skip to content

Commit

Permalink
Tracker traffic is blocked even if user grants tracking permission
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=254996
rdar://107359915

Reviewed by Wenson Hsieh.

In trunk builds, tracker traffic is blocked even if the user grants tracking permissions via the ATT
prompt. To fix this, we need to allow TCC to check for the kTCCServiceUserTracking permission via
audit tokens.

* Source/WebKit/Scripts/process-entitlements.sh:

Canonical link: https://commits.webkit.org/262634@main
  • Loading branch information
bnham committed Apr 5, 2023
1 parent ed5a5c3 commit 88e75e6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/WebKit/Scripts/process-entitlements.sh
Expand Up @@ -143,6 +143,7 @@ function mac_process_network_entitlements()
plistbuddy Add :com.apple.private.security.message-filter bool YES
plistbuddy Add :com.apple.private.tcc.manager.check-by-audit-token array
plistbuddy Add :com.apple.private.tcc.manager.check-by-audit-token:0 string kTCCServiceWebKitIntelligentTrackingPrevention
plistbuddy Add :com.apple.private.tcc.manager.check-by-audit-token:1 string kTCCServiceUserTracking
fi

if (( "${TARGET_MAC_OS_X_VERSION_MAJOR}" >= 110000 ))
Expand Down

0 comments on commit 88e75e6

Please sign in to comment.