Title: [277393] trunk/Tools
Revision
277393
Author
[email protected]
Date
2021-05-12 14:57:39 -0700 (Wed, 12 May 2021)

Log Message

Unreviewed follow-up to r277376.

Enable the API tests only if ENABLE(NOTIFICATIONS). It is important since
notifications are enabled on macOS but not iOS currently.

* TestWebKitAPI/Tests/WebKitCocoa/NotificationAPI.mm:

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (277392 => 277393)


--- trunk/Tools/ChangeLog	2021-05-12 21:56:12 UTC (rev 277392)
+++ trunk/Tools/ChangeLog	2021-05-12 21:57:39 UTC (rev 277393)
@@ -1,3 +1,12 @@
+2021-05-12  Chris Dumez  <[email protected]>
+
+        Unreviewed follow-up to r277376.
+
+        Enable the API tests only if ENABLE(NOTIFICATIONS). It is important since
+        notifications are enabled on macOS but not iOS currently.
+
+        * TestWebKitAPI/Tests/WebKitCocoa/NotificationAPI.mm:
+
 2021-05-12  Sihui Liu  <[email protected]>
 
         [ BigSur Release ] TestWebKitAPI.IndexedDB.KillWebProcessWithOpenConnection is a constant failure

Modified: trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/NotificationAPI.mm (277392 => 277393)


--- trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/NotificationAPI.mm	2021-05-12 21:56:12 UTC (rev 277392)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/NotificationAPI.mm	2021-05-12 21:57:39 UTC (rev 277393)
@@ -25,6 +25,7 @@
 
 #import "config.h"
 
+#if ENABLE(NOTIFICATIONS)
 #import "PlatformUtilities.h"
 #import "TestWKWebView.h"
 #import <WebKit/WKUIDelegatePrivate.h>
@@ -168,3 +169,5 @@
 }
 
 } // namespace TestWebKitAPI
+
+#endif // ENABLE(NOTIFICATIONS)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to