Disable ViewportSizeForViewportUnits tests on iOS.
authorzalan@apple.com <zalan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 2 Jun 2017 22:12:26 +0000 (22:12 +0000)
committerzalan@apple.com <zalan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 2 Jun 2017 22:12:26 +0000 (22:12 +0000)
https://bugs.webkit.org/show_bug.cgi?id=172872

Reviewed by Tim Horton.

* TestWebKitAPI/Tests/WebKit2/ViewportSizeForViewportUnits.mm:

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

Tools/ChangeLog
Tools/TestWebKitAPI/Tests/WebKit2/ViewportSizeForViewportUnits.mm

index 598b7e7..a11e3de 100644 (file)
@@ -1,5 +1,14 @@
 2017-06-02  Zalan Bujtas  <zalan@apple.com>
 
+        Disable ViewportSizeForViewportUnits tests on iOS.
+        https://bugs.webkit.org/show_bug.cgi?id=172872
+
+        Reviewed by Tim Horton.
+
+        * TestWebKitAPI/Tests/WebKit2/ViewportSizeForViewportUnits.mm:
+
+2017-06-02  Zalan Bujtas  <zalan@apple.com>
+
         Allow clients to override viewport size for CSS viewport units.
         https://bugs.webkit.org/show_bug.cgi?id=172838
         <rdar://problem/32523441>
index a2db362..fca35d7 100644 (file)
@@ -31,7 +31,7 @@
 #import <WebKit/WKWebViewPrivate.h>
 #import <wtf/RetainPtr.h>
 
-#if WK_API_ENABLED
+#if WK_API_ENABLED && PLATFORM(MAC)
 
 static bool viewportSizeTestDone;