Skip to content

Commit

Permalink
Cherry-pick 8179ae2. rdar://122826926
Browse files Browse the repository at this point in the history
    Clean up JSC shell entitlements to fix RAMificaton.
    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

Identifier: 272448.533@safari-7618.1.15.12-branch
  • Loading branch information
Justin Michaud authored and Dan Robson committed Feb 16, 2024
1 parent 9dac2ef commit ce155b8
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 ce155b8

Please sign in to comment.