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

Changeset 271267 in webkit


Ignore:
Timestamp:
Jan 7, 2021, 3:24:19 PM (6 years ago)
Author:
commit-queue@webkit.org
Message:

Unreviewed, reverting r271192.
https://bugs.webkit.org/show_bug.cgi?id=220440

Reverted changeset:

"NSCrossWebsiteTrackingUsageDescription is not working on Mac,
ITP is always enabled"
https://bugs.webkit.org/show_bug.cgi?id=220190
https://trac.webkit.org/changeset/271192

Location:
trunk/Source
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WTF/ChangeLog

    r271257 r271267  
     12021-01-07  Commit Queue  <commit-queue@webkit.org>
     2
     3        Unreviewed, reverting r271192.
     4        https://bugs.webkit.org/show_bug.cgi?id=220440
     5
     6
     7        Reverted changeset:
     8
     9        "NSCrossWebsiteTrackingUsageDescription is not working on Mac,
     10        ITP is always enabled"
     11        https://bugs.webkit.org/show_bug.cgi?id=220190
     12        https://trac.webkit.org/changeset/271192
     13
    1142021-01-07  Monson Shao  <holymonson@gmail.com>
    215
  • trunk/Source/WTF/wtf/PlatformUse.h

    r271192 r271267  
    327327#define USE_OPENXR 0
    328328#endif
    329 
    330 #if (PLATFORM(IOS) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 140000) || PLATFORM(MACCATALYST)
    331 // FIXME: Include macOS once <rdar://problem/72817121> is fixed.
    332 #define USE_ITP_TCC_CHECK 1
    333 #endif
  • trunk/Source/WebKit/ChangeLog

    r271264 r271267  
     12021-01-07  Commit Queue  <commit-queue@webkit.org>
     2
     3        Unreviewed, reverting r271192.
     4        https://bugs.webkit.org/show_bug.cgi?id=220440
     5
     6
     7        Reverted changeset:
     8
     9        "NSCrossWebsiteTrackingUsageDescription is not working on Mac,
     10        ITP is always enabled"
     11        https://bugs.webkit.org/show_bug.cgi?id=220190
     12        https://trac.webkit.org/changeset/271192
     13
    1142021-01-07  Alex Christensen  <achristensen@webkit.org>
    215
  • trunk/Source/WebKit/Shared/Cocoa/DefaultWebBrowserChecks.mm

    r271192 r271267  
    113113        return true;
    114114
    115 #if USE(ITP_TCC_CHECK)
    116     TCCAccessPreflightResult result = TCCAccessPreflight(getkTCCServiceWebKitIntelligentTrackingPrevention(), nullptr);
     115    TCCAccessPreflightResult result = kTCCAccessPreflightDenied;
     116#if (PLATFORM(IOS) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 140000) || (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 110000)
     117    result = TCCAccessPreflight(getkTCCServiceWebKitIntelligentTrackingPrevention(), nullptr);
     118#endif
    117119    return result != kTCCAccessPreflightDenied;
    118 #else
    119     return false;
    120 #endif
    121120}
    122121
Note: See TracChangeset for help on using the changeset viewer.