Title: [230659] trunk/Source/WTF
Revision
230659
Author
pvol...@apple.com
Date
2018-04-14 10:57:52 -0700 (Sat, 14 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 (230658 => 230659)


--- trunk/Source/WTF/ChangeLog	2018-04-14 09:11:11 UTC (rev 230658)
+++ trunk/Source/WTF/ChangeLog	2018-04-14 17:57:52 UTC (rev 230659)
@@ -1,3 +1,18 @@
+2018-04-14  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-13  Chris Dumez  <cdu...@apple.com>
 
         Split WindowProxy handling out of ScriptController and into a new class owned by AbstractFrame

Modified: trunk/Source/WTF/wtf/FeatureDefines.h (230658 => 230659)


--- trunk/Source/WTF/wtf/FeatureDefines.h	2018-04-14 09:11:11 UTC (rev 230658)
+++ trunk/Source/WTF/wtf/FeatureDefines.h	2018-04-14 17:57:52 UTC (rev 230659)
@@ -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