Title: [263066] trunk/Tools
Revision
263066
Author
[email protected]
Date
2020-06-15 15:34:57 -0700 (Mon, 15 Jun 2020)

Log Message

Follow-up fix: Make API tests tolerant of our relatively new use of WebPageProxy::preconnectTo
https://bugs.webkit.org/show_bug.cgi?id=213144
<rdar://problem/64316743>

Unreviewed build fix.

Patch by Jonathan Bedard <[email protected]> on 2020-06-15

* TestWebKitAPI/Tests/WebKitCocoa/ServiceWorkerBasic.mm: Guard didFinishNavigation declaration with HAVE(NETWORK_FRAMEWORK).

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (263065 => 263066)


--- trunk/Tools/ChangeLog	2020-06-15 22:24:31 UTC (rev 263065)
+++ trunk/Tools/ChangeLog	2020-06-15 22:34:57 UTC (rev 263066)
@@ -1,3 +1,13 @@
+2020-06-15  Jonathan Bedard  <[email protected]>
+
+        Follow-up fix: Make API tests tolerant of our relatively new use of WebPageProxy::preconnectTo
+        https://bugs.webkit.org/show_bug.cgi?id=213144
+        <rdar://problem/64316743>
+
+        Unreviewed build fix.
+
+        * TestWebKitAPI/Tests/WebKitCocoa/ServiceWorkerBasic.mm: Guard didFinishNavigation declaration with HAVE(NETWORK_FRAMEWORK).
+
 2020-06-15  Alex Christensen  <[email protected]>
 
         Provide alternatively-named SPI for user style sheets and scripts

Modified: trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/ServiceWorkerBasic.mm (263065 => 263066)


--- trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/ServiceWorkerBasic.mm	2020-06-15 22:24:31 UTC (rev 263065)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/ServiceWorkerBasic.mm	2020-06-15 22:34:57 UTC (rev 263066)
@@ -51,7 +51,10 @@
 #import <wtf/text/WTFString.h>
 
 static bool done;
+
+#if HAVE(NETWORK_FRAMEWORK)
 static bool didFinishNavigation;
+#endif
 
 static String expectedMessage;
 static String retrievedString;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to