Skip to content

Commit

Permalink
WebKit process extensions do not have the same entitlement requiremen…
Browse files Browse the repository at this point in the history
…ts, v2.

https://bugs.webkit.org/show_bug.cgi?id=264741
rdar://118333123

Reviewed by Sihui Liu.

WebKit process extensions do not have the same entitlement requirements as XPC services.

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

Canonical link: https://commits.webkit.org/270642@main
  • Loading branch information
pvollan committed Nov 13, 2023
1 parent 7a0271a commit 9c56ef4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Source/WebKit/Scripts/process-entitlements.sh
Original file line number Diff line number Diff line change
Expand Up @@ -353,13 +353,13 @@ function ios_family_process_webcontent_shared_entitlements()
plistbuddy Add :com.apple.private.coremedia.pidinheritance.allow bool YES
plistbuddy Add :com.apple.private.memorystatus bool YES
plistbuddy Add :com.apple.private.network.socket-delegate bool YES
plistbuddy Add :com.apple.private.pac.exception bool YES
plistbuddy Add :com.apple.private.webinspector.allow-remote-inspection bool YES
plistbuddy Add :com.apple.private.webinspector.proxy-application bool YES
plistbuddy Add :com.apple.private.webkit.use-xpc-endpoint bool YES
plistbuddy Add :com.apple.runningboard.assertions.webkit bool YES
if [[ "${PRODUCT_NAME}" != WebContentExtension ]]; then
plistbuddy Add :com.apple.private.gpu-restricted bool YES
plistbuddy Add :com.apple.private.pac.exception bool YES
plistbuddy Add :com.apple.private.sandbox.profile string com.apple.WebKit.WebContent
fi
plistbuddy add :com.apple.coreaudio.allow-vorbis-decode bool YES
Expand Down Expand Up @@ -409,7 +409,6 @@ function ios_family_process_gpu_entitlements()
plistbuddy Add :com.apple.private.memorystatus bool YES
plistbuddy Add :com.apple.private.memory.ownership_transfer bool YES
plistbuddy Add :com.apple.private.network.socket-delegate bool YES
plistbuddy Add :com.apple.private.pac.exception bool YES
plistbuddy Add :com.apple.private.webkit.use-xpc-endpoint bool YES
plistbuddy Add :com.apple.runningboard.assertions.webkit bool YES

Expand All @@ -424,6 +423,7 @@ function ios_family_process_gpu_entitlements()

if [[ "${PRODUCT_NAME}" != GPUExtension ]]; then
plistbuddy Add :com.apple.private.gpu-restricted bool YES
plistbuddy Add :com.apple.private.pac.exception bool YES
plistbuddy Add :com.apple.private.sandbox.profile string com.apple.WebKit.GPU
fi

Expand Down Expand Up @@ -472,8 +472,8 @@ function ios_family_process_network_entitlements()
plistbuddy Add :com.apple.private.appstored array
plistbuddy Add :com.apple.private.appstored:0 string InstallWebAttribution

plistbuddy Add :com.apple.private.pac.exception bool YES
if [[ "${PRODUCT_NAME}" != NetworkingExtension ]]; then
plistbuddy Add :com.apple.private.pac.exception bool YES
plistbuddy Add :com.apple.private.sandbox.profile string com.apple.WebKit.Networking
fi
plistbuddy Add :com.apple.symptom_analytics.configure bool YES
Expand Down

0 comments on commit 9c56ef4

Please sign in to comment.