Changeset 271266 in webkit
- Timestamp:
- Jan 7, 2021, 3:17:58 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
r271251 r271266 1 2021-01-07 Russell Epstein <repstein@apple.com>2 3 Cherry-pick r271192. rdar://problem/728940994 5 NSCrossWebsiteTrackingUsageDescription is not working on Mac, ITP is always enabled6 https://bugs.webkit.org/show_bug.cgi?id=2201907 <rdar://problem/72744909>8 9 Reviewed by Brent Fulgham.10 11 Source/WebKit:12 13 Consider the presence of the NSCrossWebsiteTrackingUsageDescription14 key as an indication to disable ITP for WKWebView until we implement15 a mechanism for disabling it in WKWebView like we do for iOS to avoid16 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-d52691b4dbfc26 27 2021-01-05 Kate Cheney <katherine_cheney@apple.com>28 29 NSCrossWebsiteTrackingUsageDescription is not working on Mac, ITP is always enabled30 https://bugs.webkit.org/show_bug.cgi?id=22019031 <rdar://problem/72744909>32 33 Reviewed by Brent Fulgham.34 35 * wtf/PlatformUse.h:36 37 1 2020-12-16 Alan Coon <alancoon@apple.com> 38 2 -
branches/safari-610.4.3.1-branch/Source/WTF/wtf/PlatformUse.h
r271251 r271266 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 1321 #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/728940994 5 NSCrossWebsiteTrackingUsageDescription is not working on Mac, ITP is always enabled6 https://bugs.webkit.org/show_bug.cgi?id=2201907 <rdar://problem/72744909>8 9 Reviewed by Brent Fulgham.10 11 Source/WebKit:12 13 Consider the presence of the NSCrossWebsiteTrackingUsageDescription14 key as an indication to disable ITP for WKWebView until we implement15 a mechanism for disabling it in WKWebView like we do for iOS to avoid16 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-d52691b4dbfc26 27 2021-01-05 Kate Cheney <katherine_cheney@apple.com>28 29 NSCrossWebsiteTrackingUsageDescription is not working on Mac, ITP is always enabled30 https://bugs.webkit.org/show_bug.cgi?id=22019031 <rdar://problem/72744909>32 33 Reviewed by Brent Fulgham.34 35 Consider the presence of the NSCrossWebsiteTrackingUsageDescription36 key as an indication to disable ITP for WKWebView until we implement37 a mechanism for disabling it in WKWebView like we do for iOS to avoid38 compatibility bugs.39 40 * Shared/Cocoa/DefaultWebBrowserChecks.mm:41 (WebKit::determineITPStateInternal):42 43 1 2020-12-21 Alan Coon <alancoon@apple.com> 44 2 -
branches/safari-610.4.3.1-branch/Source/WebKit/Shared/Cocoa/DefaultWebBrowserChecks.mm
r271251 r271266 113 113 return true; 114 114 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 117 119 return result != kTCCAccessPreflightDenied; 118 #else119 return false;120 #endif121 120 } 122 121
Note:
See TracChangeset
for help on using the changeset viewer.