Skip to content

Commit

Permalink
Cherry-pick 8179ae2. <bug>
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.571@safari-7618.1.15.10-branch

Canonical link: https://commits.webkit.org/266719.384@webkitglib/2.42
  • Loading branch information
Justin Michaud authored and aperezdc committed Mar 14, 2024
1 parent 3dce211 commit fbc7530
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 @@ -98,6 +98,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 fbc7530

Please sign in to comment.