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

Changeset 271266 in webkit


Ignore:
Timestamp:
Jan 7, 2021, 3:17:58 PM (6 years ago)
Author:
Russell Epstein
Message:

Revert "Cherry-pick r271192. rdar://problem/72894099"

This reverts commit r271251.

Location:
branches/safari-610.4.3.1-branch/Source
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/safari-610.4.3.1-branch/Source/WTF/ChangeLog

    r271251 r271266  
    1 2021-01-07  Russell Epstein  <repstein@apple.com>
    2 
    3         Cherry-pick r271192. rdar://problem/72894099
    4 
    5     NSCrossWebsiteTrackingUsageDescription is not working on Mac, ITP is always enabled
    6     https://bugs.webkit.org/show_bug.cgi?id=220190
    7     <rdar://problem/72744909>
    8    
    9     Reviewed by Brent Fulgham.
    10    
    11     Source/WebKit:
    12    
    13     Consider the presence of the NSCrossWebsiteTrackingUsageDescription
    14     key as an indication to disable ITP for WKWebView until we implement
    15     a mechanism for disabling it in WKWebView like we do for iOS to avoid
    16     compatibility bugs.
    17    
    18     * Shared/Cocoa/DefaultWebBrowserChecks.mm:
    19     (WebKit::determineITPStateInternal):
    20    
    21     Source/WTF:
    22    
    23     * wtf/PlatformUse.h:
    24    
    25     git-svn-id: https://svn.webkit.org/repository/webkit/trunk@271192 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    26 
    27     2021-01-05  Kate Cheney  <katherine_cheney@apple.com>
    28 
    29             NSCrossWebsiteTrackingUsageDescription is not working on Mac, ITP is always enabled
    30             https://bugs.webkit.org/show_bug.cgi?id=220190
    31             <rdar://problem/72744909>
    32 
    33             Reviewed by Brent Fulgham.
    34 
    35             * wtf/PlatformUse.h:
    36 
    3712020-12-16  Alan Coon  <alancoon@apple.com>
    382
  • branches/safari-610.4.3.1-branch/Source/WTF/wtf/PlatformUse.h

    r271251 r271266  
    315315#endif
    316316#endif
    317 
    318 #if (PLATFORM(IOS) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 140000) || PLATFORM(MACCATALYST)
    319 // FIXME: Include macOS once <rdar://problem/72817121> is fixed.
    320 #define USE_ITP_TCC_CHECK 1
    321 #endif
  • branches/safari-610.4.3.1-branch/Source/WebKit/ChangeLog

    r271251 r271266  
    1 2021-01-07  Russell Epstein  <repstein@apple.com>
    2 
    3         Cherry-pick r271192. rdar://problem/72894099
    4 
    5     NSCrossWebsiteTrackingUsageDescription is not working on Mac, ITP is always enabled
    6     https://bugs.webkit.org/show_bug.cgi?id=220190
    7     <rdar://problem/72744909>
    8    
    9     Reviewed by Brent Fulgham.
    10    
    11     Source/WebKit:
    12    
    13     Consider the presence of the NSCrossWebsiteTrackingUsageDescription
    14     key as an indication to disable ITP for WKWebView until we implement
    15     a mechanism for disabling it in WKWebView like we do for iOS to avoid
    16     compatibility bugs.
    17    
    18     * Shared/Cocoa/DefaultWebBrowserChecks.mm:
    19     (WebKit::determineITPStateInternal):
    20    
    21     Source/WTF:
    22    
    23     * wtf/PlatformUse.h:
    24    
    25     git-svn-id: https://svn.webkit.org/repository/webkit/trunk@271192 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    26 
    27     2021-01-05  Kate Cheney  <katherine_cheney@apple.com>
    28 
    29             NSCrossWebsiteTrackingUsageDescription is not working on Mac, ITP is always enabled
    30             https://bugs.webkit.org/show_bug.cgi?id=220190
    31             <rdar://problem/72744909>
    32 
    33             Reviewed by Brent Fulgham.
    34 
    35             Consider the presence of the NSCrossWebsiteTrackingUsageDescription
    36             key as an indication to disable ITP for WKWebView until we implement
    37             a mechanism for disabling it in WKWebView like we do for iOS to avoid
    38             compatibility bugs.
    39 
    40             * Shared/Cocoa/DefaultWebBrowserChecks.mm:
    41             (WebKit::determineITPStateInternal):
    42 
    4312020-12-21  Alan Coon  <alancoon@apple.com>
    442
  • branches/safari-610.4.3.1-branch/Source/WebKit/Shared/Cocoa/DefaultWebBrowserChecks.mm

    r271251 r271266  
    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.