Title: [270739] trunk/Source/WebKit
Revision
270739
Author
[email protected]
Date
2020-12-12 12:49:36 -0800 (Sat, 12 Dec 2020)

Log Message

Unreviewed, reverting r270674.

Broke web content rendering on iOS

Reverted changeset:

"[iOS] Remove access to the IOKIt class AGXDeviceUserClient in
the WebContent process"
https://bugs.webkit.org/show_bug.cgi?id=219733
https://trac.webkit.org/changeset/270674

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (270738 => 270739)


--- trunk/Source/WebKit/ChangeLog	2020-12-12 19:39:51 UTC (rev 270738)
+++ trunk/Source/WebKit/ChangeLog	2020-12-12 20:49:36 UTC (rev 270739)
@@ -1,3 +1,16 @@
+2020-12-12  Wenson Hsieh  <[email protected]>
+
+        Unreviewed, reverting r270674.
+
+        Broke web content rendering on iOS
+
+        Reverted changeset:
+
+        "[iOS] Remove access to the IOKIt class AGXDeviceUserClient in
+        the WebContent process"
+        https://bugs.webkit.org/show_bug.cgi?id=219733
+        https://trac.webkit.org/changeset/270674
+
 2020-12-11  Peng Liu  <[email protected]>
 
         [Media in GPU Process][MSE] Implement SourceBuffer::reportExtraMemoryAllocated()

Modified: trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.GPU.sb (270738 => 270739)


--- trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.GPU.sb	2020-12-12 19:39:51 UTC (rev 270738)
+++ trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.GPU.sb	2020-12-12 20:49:36 UTC (rev 270739)
@@ -252,6 +252,7 @@
            (iokit-user-client-class
                 "AGXCommandQueue"
                 "AGXDevice"
+                "AGXDeviceUserClient"
                 "AGXSharedUserClient"
                 "IOAccelContext"
                 "IOAccelDevice"

Modified: trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb (270738 => 270739)


--- trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb	2020-12-12 19:39:51 UTC (rev 270738)
+++ trunk/Source/WebKit/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb	2020-12-12 20:49:36 UTC (rev 270739)
@@ -238,6 +238,10 @@
             (extension "com.apple.webkit.extension.iokit")
             (iokit-connection "IOGPU")
         )
+        (require-all
+            (extension "com.apple.webkit.extension.iokit")
+            (iokit-user-client-class "AGXDeviceUserClient") ;; Used by WebGL
+        )
         (when (defined? 'iokit-external-method)
             (apply-message-filter
                 (deny (with telemetry)
@@ -986,6 +990,7 @@
         (require-not (extension "com.apple.webkit.extension.iokit"))
         (iokit-user-client-class
             "IOMobileFramebufferUserClient"
+            "AGXDeviceUserClient"
             "AppleJPEGDriverUserClient"
             "IOSurfaceAcceleratorClient"
             "IOSurfaceRootUserClient"

Modified: trunk/Source/WebKit/UIProcess/WebPageProxy.cpp (270738 => 270739)


--- trunk/Source/WebKit/UIProcess/WebPageProxy.cpp	2020-12-12 19:39:51 UTC (rev 270738)
+++ trunk/Source/WebKit/UIProcess/WebPageProxy.cpp	2020-12-12 20:49:36 UTC (rev 270739)
@@ -7774,6 +7774,7 @@
     ASSERT(isMainThread());
     static const auto services = makeNeverDestroyed(Vector<ASCIILiteral> {
 #if PLATFORM(IOS_FAMILY)
+        "AGXDeviceUserClient"_s,
         "AppleJPEGDriverUserClient"_s,
         "IOGPU"_s,
         "IOMobileFramebufferUserClient"_s,
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to