Skip to content

Commit

Permalink
Clean up JSC shell entitlements to fix RAMificaton.
Browse files Browse the repository at this point in the history
rdar://122826926

Reviewed by Yusuke Suzuki.

In https://commits.webkit.org/272448.472@safari-7618-branch, we switched
to the new allow-jit entitlement. This broke RAMiciation runs because
the JSC binary doesn't have the com.apple.developer.web-browser-engine.webcontent
entitlement. This patch adds it.

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

Canonical link: https://commits.webkit.org/272448.538@safari-7618-branch
  • Loading branch information
Justin Michaud committed Feb 13, 2024
1 parent 2c41110 commit 8179ae2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/JavaScriptCore/Scripts/process-entitlements.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ function ios_family_process_jsc_entitlements()
if [[ "${PLATFORM_NAME}" == iphoneos ]]; then
if (( $(( ${SDK_VERSION_ACTUAL} )) >= 170400 )); then
plistbuddy Add :com.apple.developer.cs.allow-jit bool YES
plistbuddy Add :com.apple.developer.web-browser-engine.webcontent bool YES
else
plistbuddy Add :dynamic-codesigning bool YES
fi
Expand Down

0 comments on commit 8179ae2

Please sign in to comment.