Changeset 264200 in webkit


Ignore:
Timestamp:
Jul 9, 2020, 3:28:37 PM (5 years ago)
Author:
Brent Fulgham
Message:

[macOS] Adopt the WebKit-specific PAC key and entitlements
https://bugs.webkit.org/show_bug.cgi?id=214162
<rdar://problem/65099687>

Reviewed by Geoffrey Garen.

Add the relevant entitlements for PAC use and exceptions on macOS. This will be
ignored on Intel, but will be a great thing on Apple Silicon!

  • Scripts/process-entitlements.sh:
Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r264199 r264200  
     12020-07-09  Brent Fulgham  <bfulgham@apple.com>
     2
     3        [macOS] Adopt the WebKit-specific PAC key and entitlements
     4        https://bugs.webkit.org/show_bug.cgi?id=214162
     5        <rdar://problem/65099687>
     6
     7        Reviewed by Geoffrey Garen.
     8
     9        Add the relevant entitlements for PAC use and exceptions on macOS. This will be
     10        ignored on Intel, but will be a great thing on Apple Silicon!
     11
     12        * Scripts/process-entitlements.sh:
     13
    1142020-07-09  Per Arne Vollan  <pvollan@apple.com>
    215
  • trunk/Source/WebKit/Scripts/process-entitlements.sh

    r264178 r264200  
    1818        plistbuddy Add :com.apple.private.webkit.use-xpc-endpoint bool YES
    1919        plistbuddy Add :com.apple.rootless.storage.WebKitWebContentSandbox bool YES
     20        if (( "${TARGET_MAC_OS_X_VERSION_MAJOR}" >= 110000 ))
     21        then
     22            plistbuddy Add :com.apple.pac.shared_region_id string WebContent
     23            plistbuddy Add :com.apple.private.pac.exception bool YES
     24        fi
    2025    fi
    2126
     
    100105    plistbuddy Add :com.apple.security.cs.allow-jit bool YES
    101106    plistbuddy Add :com.apple.runningboard.assertions.webkit bool YES
     107    if (( "${TARGET_MAC_OS_X_VERSION_MAJOR}" >= 110000 ))
     108    then
     109        plistbuddy Add :com.apple.pac.shared_region_id string WebContent
     110        plistbuddy Add :com.apple.private.pac.exception bool YES
     111    fi
    102112}
    103113
Note: See TracChangeset for help on using the changeset viewer.