Changeset 271192 in webkit
- Timestamp:
- Jan 5, 2021, 9:29:40 PM (6 years ago)
- Location:
- trunk/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
-
trunk/Source/WTF/ChangeLog
r271189 r271192 1 2021-01-05 Kate Cheney <katherine_cheney@apple.com> 2 3 NSCrossWebsiteTrackingUsageDescription is not working on Mac, ITP is always enabled 4 https://bugs.webkit.org/show_bug.cgi?id=220190 5 <rdar://problem/72744909> 6 7 Reviewed by Brent Fulgham. 8 9 * wtf/PlatformUse.h: 10 1 11 2021-01-05 Chris Dumez <cdumez@apple.com> 2 12 -
trunk/Source/WTF/wtf/PlatformUse.h
r270377 r271192 327 327 #define USE_OPENXR 0 328 328 #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
r271190 r271192 1 2021-01-05 Kate Cheney <katherine_cheney@apple.com> 2 3 NSCrossWebsiteTrackingUsageDescription is not working on Mac, ITP is always enabled 4 https://bugs.webkit.org/show_bug.cgi?id=220190 5 <rdar://problem/72744909> 6 7 Reviewed by Brent Fulgham. 8 9 Consider the presence of the NSCrossWebsiteTrackingUsageDescription 10 key as an indication to disable ITP for WKWebView until we implement 11 a mechanism for disabling it in WKWebView like we do for iOS to avoid 12 compatibility bugs. 13 14 * Shared/Cocoa/DefaultWebBrowserChecks.mm: 15 (WebKit::determineITPStateInternal): 16 1 17 2021-01-05 Aditya Keerthi <akeerthi@apple.com> 2 18 -
trunk/Source/WebKit/Shared/Cocoa/DefaultWebBrowserChecks.mm
r271040 r271192 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.