Title: [230523] trunk/Source/WTF
Revision
230523
Author
pvol...@apple.com
Date
2018-04-11 07:29:39 -0700 (Wed, 11 Apr 2018)

Log Message

Deactivate the WindowServer connection for the WebContent process.
https://bugs.webkit.org/show_bug.cgi?id=184451
<rdar://problem/38313938>

Reviewed by Brent Fulgham.

Defining ENABLE_WEBPROCESS_WINDOWSERVER_BLOCKING as 1 will deactivate the WindowServer connection
for the WebContent process by enabling the call to 'CGSSetDenyWindowServerConnections(true)' on
process startup. After calling this function, every attempt to establish a connection to the
WindowServer from the WebContent process will fail, except for CA render server connections.

* wtf/FeatureDefines.h:

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (230522 => 230523)


--- trunk/Source/WTF/ChangeLog	2018-04-11 13:47:26 UTC (rev 230522)
+++ trunk/Source/WTF/ChangeLog	2018-04-11 14:29:39 UTC (rev 230523)
@@ -1,3 +1,18 @@
+2018-04-11  Per Arne Vollan  <pvol...@apple.com>
+
+        Deactivate the WindowServer connection for the WebContent process.
+        https://bugs.webkit.org/show_bug.cgi?id=184451
+        <rdar://problem/38313938>
+
+        Reviewed by Brent Fulgham.
+
+        Defining ENABLE_WEBPROCESS_WINDOWSERVER_BLOCKING as 1 will deactivate the WindowServer connection
+        for the WebContent process by enabling the call to 'CGSSetDenyWindowServerConnections(true)' on
+        process startup. After calling this function, every attempt to establish a connection to the
+        WindowServer from the WebContent process will fail, except for CA render server connections.
+
+        * wtf/FeatureDefines.h:
+
 2018-04-10  Andy Estes  <aes...@apple.com>
 
         [iOS] Use PDFKit to render PDFs in WKWebView

Modified: trunk/Source/WTF/wtf/FeatureDefines.h (230522 => 230523)


--- trunk/Source/WTF/wtf/FeatureDefines.h	2018-04-11 13:47:26 UTC (rev 230522)
+++ trunk/Source/WTF/wtf/FeatureDefines.h	2018-04-11 14:29:39 UTC (rev 230523)
@@ -238,7 +238,7 @@
 #endif
 
 #if !defined(ENABLE_WEBPROCESS_WINDOWSERVER_BLOCKING)
-#define ENABLE_WEBPROCESS_WINDOWSERVER_BLOCKING 0
+#define ENABLE_WEBPROCESS_WINDOWSERVER_BLOCKING __MAC_OS_X_VERSION_MIN_REQUIRED >= 101400
 #endif
 
 #endif /* PLATFORM(MAC) */
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to