⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 243230 in webkit


Ignore:
Timestamp:
Mar 20, 2019, 12:58:06 PM (7 years ago)
Author:
Keith Rollin
Message:

Update checks that determine if WebKit is system WebKit
https://bugs.webkit.org/show_bug.cgi?id=195756

Reviewed by Alexey Proskuryakov.

The system WebKit can be installed in additional locations, so check
for and allow those, too.

Source/WebKit:

  • Shared/mac/AuxiliaryProcessMac.mm:

(WebKit::AuxiliaryProcess::isSystemWebKit):

Source/WTF:

  • wtf/Platform.h:
Location:
trunk/Source
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WTF/ChangeLog

    r243216 r243230  
     12019-03-20  Keith Rollin  <krollin@apple.com>
     2
     3        Update checks that determine if WebKit is system WebKit
     4        https://bugs.webkit.org/show_bug.cgi?id=195756
     5
     6        Reviewed by Alexey Proskuryakov.
     7
     8        The system WebKit can be installed in additional locations, so check
     9        for and allow those, too.
     10
     11        * wtf/Platform.h:
     12
    1132019-03-20  Michael Catanzaro  <mcatanzaro@igalia.com>
    214
  • trunk/Source/WTF/wtf/Platform.h

    r243195 r243230  
    733733/* FIXME: move out all ENABLE() defines from here to FeatureDefines.h */
    734734
     735#if USE(APPLE_INTERNAL_SDK) && __has_include(<WebKitAdditions/AdditionalPlatform.h>)
     736#include <WebKitAdditions/AdditionalPlatform.h>
     737#endif
     738
    735739#if USE(APPLE_INTERNAL_SDK) && __has_include(<WebKitAdditions/AdditionalFeatureDefines.h>)
    736740#include <WebKitAdditions/AdditionalFeatureDefines.h>
  • trunk/Source/WebKit/ChangeLog

    r243223 r243230  
     12019-03-20  Keith Rollin  <krollin@apple.com>
     2
     3        Update checks that determine if WebKit is system WebKit
     4        https://bugs.webkit.org/show_bug.cgi?id=195756
     5
     6        Reviewed by Alexey Proskuryakov.
     7
     8        The system WebKit can be installed in additional locations, so check
     9        for and allow those, too.
     10
     11        * Shared/mac/AuxiliaryProcessMac.mm:
     12        (WebKit::AuxiliaryProcess::isSystemWebKit):
     13
    1142019-03-20  Per Arne Vollan  <pvollan@apple.com>
    215
  • trunk/Source/WebKit/Shared/mac/AuxiliaryProcessMac.mm

    r242339 r243230  
    720720{
    721721    static bool isSystemWebKit = [] {
     722#if HAVE(ALTERNATE_SYSTEM_LAYOUT)
     723        if ([[webKit2Bundle() bundlePath] hasPrefix:@"/Library/Apple/System/"])
     724            return true;
     725#endif
    722726        return [[webKit2Bundle() bundlePath] hasPrefix:@"/System/"];
    723727    }();
Note: See TracChangeset for help on using the changeset viewer.