Title: [270811] trunk/Source/WebKit
Revision
270811
Author
[email protected]
Date
2020-12-14 17:01:00 -0800 (Mon, 14 Dec 2020)

Log Message

REGRESSION (r270677-r270693): Catalina Perf tests failing
https://bugs.webkit.org/show_bug.cgi?id=219802
<rdar://problem/72236108>

Reviewed by Brent Fulgham.

Create extension for RootDomainUserClient also for Intel Macs, and move logging rules outside of
HAVE(SANDBOX_MESSAGE_FILTERING) section in sandbox.

* UIProcess/WebPageProxy.cpp:
(WebKit::mediaRelatedIOKitClasses):
* WebProcess/com.apple.WebProcess.sb.in:

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (270810 => 270811)


--- trunk/Source/WebKit/ChangeLog	2020-12-15 01:00:22 UTC (rev 270810)
+++ trunk/Source/WebKit/ChangeLog	2020-12-15 01:01:00 UTC (rev 270811)
@@ -1,3 +1,18 @@
+2020-12-14  Per Arne Vollan  <[email protected]>
+
+        REGRESSION (r270677-r270693): Catalina Perf tests failing
+        https://bugs.webkit.org/show_bug.cgi?id=219802
+        <rdar://problem/72236108>
+
+        Reviewed by Brent Fulgham.
+
+        Create extension for RootDomainUserClient also for Intel Macs, and move logging rules outside of
+        HAVE(SANDBOX_MESSAGE_FILTERING) section in sandbox.
+
+        * UIProcess/WebPageProxy.cpp:
+        (WebKit::mediaRelatedIOKitClasses):
+        * WebProcess/com.apple.WebProcess.sb.in:
+
 2020-12-14  Alex Christensen  <[email protected]>
 
         Fix null dereference in WKURLCopyCFURL

Modified: trunk/Source/WebKit/UIProcess/WebPageProxy.cpp (270810 => 270811)


--- trunk/Source/WebKit/UIProcess/WebPageProxy.cpp	2020-12-15 01:00:22 UTC (rev 270810)
+++ trunk/Source/WebKit/UIProcess/WebPageProxy.cpp	2020-12-15 01:01:00 UTC (rev 270811)
@@ -7829,8 +7829,10 @@
 static const Vector<ASCIILiteral>& mediaRelatedIOKitClasses()
 {
     static const auto services = makeNeverDestroyed(Vector<ASCIILiteral> {
-#if (PLATFORM(MAC) || PLATFORM(MACCATALYST)) && CPU(ARM64)
+#if PLATFORM(MAC) || PLATFORM(MACCATALYST)
+#if CPU(ARM64)
         "AppleAVDUserClient"_s,
+#endif
         "RootDomainUserClient"_s,
 #endif
     });

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


--- trunk/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in	2020-12-15 01:00:22 UTC (rev 270810)
+++ trunk/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in	2020-12-15 01:01:00 UTC (rev 270811)
@@ -1644,10 +1644,15 @@
         )
     )
 )
+#endif // HAVE(SANDBOX_MESSAGE_FILTERING)
 
+
 ;; FIXME: This is just for logging. Remove when the GPU process is enabled by default.
 ;; These should only be accessed through an iokit-extension, so log if they are not.
-(allow iokit-open (with report) (with telemetry-backtrace)
+(allow iokit-open (with report)
+#if __MAC_OS_X_VERSION_MIN_REQUIRED > 110000
+    (with telemetry-backtrace)
+#endif
     (require-all
         (require-not (extension "com.apple.webkit.extension.iokit"))
         (iokit-registry-entry-class
@@ -1659,7 +1664,10 @@
 
 ;; FIXME: Data indicates this is only needed on ARM64. This logging will confirm.
 ;; Remove when the GPU process is enabled by default
-(allow iokit-open (with report) (with telemetry-backtrace)
+(allow iokit-open (with report)
+#if __MAC_OS_X_VERSION_MIN_REQUIRED > 110000
+    (with telemetry-backtrace)
+#endif
     (require-all
         (require-not (extension "com.apple.webkit.extension.iokit"))
         (iokit-user-client-class
@@ -1668,8 +1676,6 @@
     )
 )
 
-#endif // HAVE(SANDBOX_MESSAGE_FILTERING)
-
 #if __MAC_OS_X_VERSION_MIN_REQUIRED > 110000
 (when (defined? 'darwin-notification-post)
     (allow darwin-notification-post (with telemetry))
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to