Title: [283289] trunk/Source/WebKit
Revision
283289
Author
[email protected]
Date
2021-09-29 17:55:27 -0700 (Wed, 29 Sep 2021)

Log Message

[macOS] Allow audio service in the WebContent process on older versions
https://bugs.webkit.org/show_bug.cgi?id=230974
<rdar://82445437>

Reviewed by Brent Fulgham.

Older versions of macOS still need access to "com.apple.audio.AudioComponentRegistrar" in the WebContent process.

* WebProcess/com.apple.WebProcess.sb.in:

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (283288 => 283289)


--- trunk/Source/WebKit/ChangeLog	2021-09-30 00:47:41 UTC (rev 283288)
+++ trunk/Source/WebKit/ChangeLog	2021-09-30 00:55:27 UTC (rev 283289)
@@ -1,3 +1,15 @@
+2021-09-29  Per Arne Vollan <[email protected]>
+
+        [macOS] Allow audio service in the WebContent process on older versions
+        https://bugs.webkit.org/show_bug.cgi?id=230974
+        <rdar://82445437>
+
+        Reviewed by Brent Fulgham.
+
+        Older versions of macOS still need access to "com.apple.audio.AudioComponentRegistrar" in the WebContent process.
+
+        * WebProcess/com.apple.WebProcess.sb.in:
+
 2021-09-29  Fujii Hironori  <[email protected]>
 
         [WinCairo] REGRESSION(r280726): registry keys enabling GPU process mode don't work

Modified: trunk/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in (283288 => 283289)


--- trunk/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in	2021-09-30 00:47:41 UTC (rev 283288)
+++ trunk/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in	2021-09-30 00:55:27 UTC (rev 283289)
@@ -1736,8 +1736,15 @@
     )
 )
 
+#if __MAC_OS_X_VERSION_MIN_REQUIRED < 110000
 (allow mach-lookup
     (require-all
+        (require-not (extension "com.apple.webkit.extension.mach"))
+        (global-name "com.apple.audio.AudioComponentRegistrar")))
+#endif
+
+(allow mach-lookup
+    (require-all
         (extension "com.apple.webkit.extension.mach")
         (xpc-service-name
             ;;; FIXME(207716): The following should be removed when the GPU process is complete
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to