Changeset 271251 in webkit
- Timestamp:
- Jan 7, 2021, 12:01:50 PM (6 years ago)
- Location:
- branches/safari-610.4.3.1-branch/Source
- Files:
-
- 4 edited
-
WTF/ChangeLog (modified) (1 diff)
-
WTF/wtf/PlatformUse.h (modified) (1 diff)
-
WebKit/ChangeLog (modified) (1 diff)
-
WebKit/Shared/Cocoa/DefaultWebBrowserChecks.mm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-610.4.3.1-branch/Source/WTF/ChangeLog
r270915 r271251 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 1 37 2020-12-16 Alan Coon <alancoon@apple.com> 2 38 -
branches/safari-610.4.3.1-branch/Source/WTF/wtf/PlatformUse.h
r270548 r271251 315 315 #endif 316 316 #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
r271029 r271251 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 1 43 2020-12-21 Alan Coon <alancoon@apple.com> 2 44 -
branches/safari-610.4.3.1-branch/Source/WebKit/Shared/Cocoa/DefaultWebBrowserChecks.mm
r267286 r271251 113 113 return true; 114 114 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); 115 #if USE(ITP_TCC_CHECK) 116 TCCAccessPreflightResult result = TCCAccessPreflight(getkTCCServiceWebKitIntelligentTrackingPrevention(), nullptr); 117 return result != kTCCAccessPreflightDenied; 118 #else 119 return false; 118 120 #endif 119 return result != kTCCAccessPreflightDenied;120 121 } 121 122
Note:
See TracChangeset
for help on using the changeset viewer.