Title: [270654] trunk/Source/WebKit
Revision
270654
Author
[email protected]
Date
2020-12-10 14:01:35 -0800 (Thu, 10 Dec 2020)

Log Message

[macOS] The development WebContent XPC service is missing a required entitlement
https://bugs.webkit.org/show_bug.cgi?id=219730
<rdar://problem/72145560>

Reviewed by Brent Fulgham.

The message filtering entitlement is missing in com.apple.WebKit.WebContent.Development.xpc on macOS.

* Scripts/process-entitlements.sh:

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (270653 => 270654)


--- trunk/Source/WebKit/ChangeLog	2020-12-10 22:01:33 UTC (rev 270653)
+++ trunk/Source/WebKit/ChangeLog	2020-12-10 22:01:35 UTC (rev 270654)
@@ -1,3 +1,15 @@
+2020-12-10  Per Arne Vollan  <[email protected]>
+
+        [macOS] The development WebContent XPC service is missing a required entitlement
+        https://bugs.webkit.org/show_bug.cgi?id=219730
+        <rdar://problem/72145560>
+
+        Reviewed by Brent Fulgham.
+
+        The message filtering entitlement is missing in com.apple.WebKit.WebContent.Development.xpc on macOS.
+
+        * Scripts/process-entitlements.sh:
+
 2020-12-10  Andres Gonzalez  <[email protected]>
 
         Rework of AXObjectCache::isIsolatedTreeEnabled.

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


--- trunk/Source/WebKit/Scripts/process-entitlements.sh	2020-12-10 22:01:33 UTC (rev 270653)
+++ trunk/Source/WebKit/Scripts/process-entitlements.sh	2020-12-10 22:01:35 UTC (rev 270654)
@@ -12,6 +12,10 @@
 function mac_process_webcontent_entitlements()
 {
     plistbuddy Add :com.apple.security.cs.allow-jit bool YES
+    if (( "${TARGET_MAC_OS_X_VERSION_MAJOR}" >= 110000 ))
+    then
+        plistbuddy Add :com.apple.private.security.message-filter bool YES
+    fi
 
     if [[ "${WK_USE_RESTRICTED_ENTITLEMENTS}" == YES ]]
     then
@@ -23,7 +27,6 @@
             plistbuddy Add :com.apple.developer.videotoolbox.client-sandboxed-decoder bool YES
             plistbuddy Add :com.apple.pac.shared_region_id string WebContent
             plistbuddy Add :com.apple.private.pac.exception bool YES
-            plistbuddy Add :com.apple.private.security.message-filter bool YES
             plistbuddy Add :com.apple.avfoundation.allow-system-wide-context bool YES
         fi
     fi
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to