Changeset 230523 in webkit


Ignore:
Timestamp:
Apr 11, 2018 7:29:39 AM (6 years ago)
Author:
pvollan@apple.com
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:
Location:
trunk/Source/WTF
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WTF/ChangeLog

    r230487 r230523  
     12018-04-11  Per Arne Vollan  <pvollan@apple.com>
     2
     3        Deactivate the WindowServer connection for the WebContent process.
     4        https://bugs.webkit.org/show_bug.cgi?id=184451
     5        <rdar://problem/38313938>
     6
     7        Reviewed by Brent Fulgham.
     8
     9        Defining ENABLE_WEBPROCESS_WINDOWSERVER_BLOCKING as 1 will deactivate the WindowServer connection
     10        for the WebContent process by enabling the call to 'CGSSetDenyWindowServerConnections(true)' on
     11        process startup. After calling this function, every attempt to establish a connection to the
     12        WindowServer from the WebContent process will fail, except for CA render server connections.
     13
     14        * wtf/FeatureDefines.h:
     15
    1162018-04-10  Andy Estes  <aestes@apple.com>
    217
  • trunk/Source/WTF/wtf/FeatureDefines.h

    r230487 r230523  
    239239
    240240#if !defined(ENABLE_WEBPROCESS_WINDOWSERVER_BLOCKING)
    241 #define ENABLE_WEBPROCESS_WINDOWSERVER_BLOCKING 0
     241#define ENABLE_WEBPROCESS_WINDOWSERVER_BLOCKING __MAC_OS_X_VERSION_MIN_REQUIRED >= 101400
    242242#endif
    243243
Note: See TracChangeset for help on using the changeset viewer.