Title: [230930] trunk/Source/WTF
Revision
230930
Author
[email protected]
Date
2018-04-23 15:41:35 -0700 (Mon, 23 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 (230929 => 230930)


--- trunk/Source/WTF/ChangeLog	2018-04-23 22:26:50 UTC (rev 230929)
+++ trunk/Source/WTF/ChangeLog	2018-04-23 22:41:35 UTC (rev 230930)
@@ -1,3 +1,18 @@
+2018-04-23  Per Arne Vollan  <[email protected]>
+
+        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-20  JF Bastien  <[email protected]>
 
         Handle more JSON stringify OOM

Modified: trunk/Source/WTF/wtf/FeatureDefines.h (230929 => 230930)


--- trunk/Source/WTF/wtf/FeatureDefines.h	2018-04-23 22:26:50 UTC (rev 230929)
+++ trunk/Source/WTF/wtf/FeatureDefines.h	2018-04-23 22:41:35 UTC (rev 230930)
@@ -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
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to