Title: [230677] trunk/Source/WTF
- Revision
- 230677
- Author
- pvol...@apple.com
- Date
- 2018-04-16 12:20:17 -0700 (Mon, 16 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 (230676 => 230677)
--- trunk/Source/WTF/ChangeLog 2018-04-16 19:02:40 UTC (rev 230676)
+++ trunk/Source/WTF/ChangeLog 2018-04-16 19:20:17 UTC (rev 230677)
@@ -1,3 +1,18 @@
+2018-04-16 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-14 Commit Queue <commit-qu...@webkit.org>
Unreviewed, rolling out r230659.
Modified: trunk/Source/WTF/wtf/FeatureDefines.h (230676 => 230677)
--- trunk/Source/WTF/wtf/FeatureDefines.h 2018-04-16 19:02:40 UTC (rev 230676)
+++ trunk/Source/WTF/wtf/FeatureDefines.h 2018-04-16 19:20:17 UTC (rev 230677)
@@ -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