Unreviewed, fix the watchOS engineering build
authorwenson_hsieh@apple.com <wenson_hsieh@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 27 Nov 2018 23:54:06 +0000 (23:54 +0000)
committerwenson_hsieh@apple.com <wenson_hsieh@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 27 Nov 2018 23:54:06 +0000 (23:54 +0000)
Disable a newly added API test, since DDScannerResult is unavailable on watchOS.

* TestWebKitAPI/Tests/WebKitCocoa/DataDetection.mm:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@238584 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/ChangeLog
Tools/TestWebKitAPI/Tests/WebKitCocoa/DataDetection.mm

index b894484..0989362 100644 (file)
@@ -1,3 +1,11 @@
+2018-11-27  Wenson Hsieh  <wenson_hsieh@apple.com>
+
+        Unreviewed, fix the watchOS engineering build
+
+        Disable a newly added API test, since DDScannerResult is unavailable on watchOS.
+
+        * TestWebKitAPI/Tests/WebKitCocoa/DataDetection.mm:
+
 2018-11-27  Chris Dumez  <cdumez@apple.com>
 
         Regression(PSON) crash under WebPageProxy::didReceiveServerRedirectForProvisionalLoadForFrame()
index a978530..6d199d9 100644 (file)
@@ -126,6 +126,8 @@ TEST(WebKit, DISABLED_DataDetectionReferenceDate)
     expectLinkCount(webView.get(), @"yesterday at 6PM", 1);
 }
 
+#if PLATFORM(IOS)
+
 TEST(WebKit, AddAndRemoveDataDetectors)
 {
     auto webView = adoptNS([[TestWKWebView alloc] initWithFrame:CGRectMake(0, 0, 320, 500)]);
@@ -164,4 +166,6 @@ TEST(WebKit, AddAndRemoveDataDetectors)
     checkDataDetectionResults([webView _dataDetectionResults]);
 }
 
+#endif // PLATFORM(IOS)
+
 #endif