Title: [271267] trunk/Source
Revision
271267
Author
[email protected]
Date
2021-01-07 15:24:19 -0800 (Thu, 07 Jan 2021)

Log 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

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (271266 => 271267)


--- trunk/Source/WTF/ChangeLog	2021-01-07 23:17:58 UTC (rev 271266)
+++ trunk/Source/WTF/ChangeLog	2021-01-07 23:24:19 UTC (rev 271267)
@@ -1,3 +1,16 @@
+2021-01-07  Commit Queue  <[email protected]>
+
+        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
+
 2021-01-07  Monson Shao  <[email protected]>
 
         [CMake] Add USE_APPLE_ICU option

Modified: trunk/Source/WTF/wtf/PlatformUse.h (271266 => 271267)


--- trunk/Source/WTF/wtf/PlatformUse.h	2021-01-07 23:17:58 UTC (rev 271266)
+++ trunk/Source/WTF/wtf/PlatformUse.h	2021-01-07 23:24:19 UTC (rev 271267)
@@ -326,8 +326,3 @@
 #if PLATFORM(COCOA)
 #define USE_OPENXR 0
 #endif
-
-#if (PLATFORM(IOS) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 140000) || PLATFORM(MACCATALYST)
-// FIXME: Include macOS once <rdar://problem/72817121> is fixed.
-#define USE_ITP_TCC_CHECK 1
-#endif

Modified: trunk/Source/WebKit/ChangeLog (271266 => 271267)


--- trunk/Source/WebKit/ChangeLog	2021-01-07 23:17:58 UTC (rev 271266)
+++ trunk/Source/WebKit/ChangeLog	2021-01-07 23:24:19 UTC (rev 271267)
@@ -1,3 +1,16 @@
+2021-01-07  Commit Queue  <[email protected]>
+
+        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
+
 2021-01-07  Alex Christensen  <[email protected]>
 
         Use smart pointers in UIDelegate and NavigationState

Modified: trunk/Source/WebKit/Shared/Cocoa/DefaultWebBrowserChecks.mm (271266 => 271267)


--- trunk/Source/WebKit/Shared/Cocoa/DefaultWebBrowserChecks.mm	2021-01-07 23:17:58 UTC (rev 271266)
+++ trunk/Source/WebKit/Shared/Cocoa/DefaultWebBrowserChecks.mm	2021-01-07 23:24:19 UTC (rev 271267)
@@ -112,12 +112,11 @@
     if (!isFullWebBrowser(bundleIdentifier) && !hasRequestedCrossWebsiteTrackingPermission())
         return true;
 
-#if USE(ITP_TCC_CHECK)
-    TCCAccessPreflightResult result = TCCAccessPreflight(getkTCCServiceWebKitIntelligentTrackingPrevention(), nullptr);
+    TCCAccessPreflightResult result = kTCCAccessPreflightDenied;
+#if (PLATFORM(IOS) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 140000) || (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 110000)
+    result = TCCAccessPreflight(getkTCCServiceWebKitIntelligentTrackingPrevention(), nullptr);
+#endif
     return result != kTCCAccessPreflightDenied;
-#else
-    return false;
-#endif
 }
 
 static dispatch_queue_t g_itpQueue;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to