Title: [264200] trunk/Source/WebKit
Revision
264200
Author
bfulg...@apple.com
Date
2020-07-09 15:28:37 -0700 (Thu, 09 Jul 2020)

Log 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:

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (264199 => 264200)


--- trunk/Source/WebKit/ChangeLog	2020-07-09 21:54:22 UTC (rev 264199)
+++ trunk/Source/WebKit/ChangeLog	2020-07-09 22:28:37 UTC (rev 264200)
@@ -1,3 +1,16 @@
+2020-07-09  Brent Fulgham  <bfulg...@apple.com>
+
+        [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:
+
 2020-07-09  Per Arne Vollan  <pvol...@apple.com>
 
         Move XPCEndpoint and XPCEndpointClient classes from WebCore to WebKit

Modified: trunk/Source/WebKit/Scripts/process-entitlements.sh (264199 => 264200)


--- trunk/Source/WebKit/Scripts/process-entitlements.sh	2020-07-09 21:54:22 UTC (rev 264199)
+++ trunk/Source/WebKit/Scripts/process-entitlements.sh	2020-07-09 22:28:37 UTC (rev 264200)
@@ -17,6 +17,11 @@
     then
         plistbuddy Add :com.apple.private.webkit.use-xpc-endpoint bool YES
         plistbuddy Add :com.apple.rootless.storage.WebKitWebContentSandbox bool YES
+        if (( "${TARGET_MAC_OS_X_VERSION_MAJOR}" >= 110000 ))
+        then
+            plistbuddy Add :com.apple.pac.shared_region_id string WebContent
+            plistbuddy Add :com.apple.private.pac.exception bool YES
+        fi
     fi
 
     mac_process_webcontent_or_plugin_entitlements
@@ -99,6 +104,11 @@
 {
     plistbuddy Add :com.apple.security.cs.allow-jit bool YES
     plistbuddy Add :com.apple.runningboard.assertions.webkit bool YES
+    if (( "${TARGET_MAC_OS_X_VERSION_MAJOR}" >= 110000 ))
+    then
+        plistbuddy Add :com.apple.pac.shared_region_id string WebContent
+        plistbuddy Add :com.apple.private.pac.exception bool YES
+    fi
 }
 
 function maccatalyst_process_gpu_entitlements()
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to