Title: [287579] trunk/Source/WebKit
Revision
287579
Author
katherine_che...@apple.com
Date
2022-01-04 11:14:17 -0800 (Tue, 04 Jan 2022)

Log Message

Partial revert of https://trac.webkit.org/changeset/287371/webkit

RS by John Wilander.

Keep logging in for test debugging purposes.

* NetworkProcess/NetworkSession.cpp:
(WebKit::NetworkSession::setPrivateClickMeasurementAppBundleIDForTesting):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (287578 => 287579)


--- trunk/Source/WebKit/ChangeLog	2022-01-04 19:09:16 UTC (rev 287578)
+++ trunk/Source/WebKit/ChangeLog	2022-01-04 19:14:17 UTC (rev 287579)
@@ -1,3 +1,14 @@
+2022-01-04  Kate Cheney  <katherine_che...@apple.com>
+
+        Partial revert of https://trac.webkit.org/changeset/287371/webkit
+
+        RS by John Wilander.
+
+        Keep logging in for test debugging purposes.
+
+        * NetworkProcess/NetworkSession.cpp:
+        (WebKit::NetworkSession::setPrivateClickMeasurementAppBundleIDForTesting):
+
 2022-01-04  Tim Horton  <timothy_hor...@apple.com>
 
         Momentum Event Dispatcher: Disable noisy logging

Modified: trunk/Source/WebKit/NetworkProcess/NetworkSession.cpp (287578 => 287579)


--- trunk/Source/WebKit/NetworkProcess/NetworkSession.cpp	2022-01-04 19:09:16 UTC (rev 287578)
+++ trunk/Source/WebKit/NetworkProcess/NetworkSession.cpp	2022-01-04 19:14:17 UTC (rev 287579)
@@ -467,6 +467,8 @@
 {
 #if PLATFORM(COCOA)
     auto appBundleID = WebCore::applicationBundleIdentifier();
+    if (!isRunningTest(appBundleID))
+        WTFLogAlways("isRunningTest() returned false. appBundleID is %s.", appBundleID.isEmpty() ? "empty" : appBundleID.utf8().data());
     RELEASE_ASSERT(isRunningTest(WebCore::applicationBundleIdentifier()));
 #endif
     privateClickMeasurement().setPrivateClickMeasurementAppBundleIDForTesting(WTFMove(appBundleIDForTesting));
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to