* TestWebKitAPI/Tests/ios/UIPasteboardTests.mm:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@219131
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2017-07-05 Wenson Hsieh <wenson_hsieh@apple.com>
+
+ Unreviewed, guard iOS 11-dependent UIPasteboardTests to be iOS 11+ only
+
+ * TestWebKitAPI/Tests/ios/UIPasteboardTests.mm:
+
2017-07-05 Matt Lewis <jlewis3@apple.com>
Unreviewed, rolling out r219128.
EXPECT_WK_STREQ("Hello world", [utf16Result UTF8String]);
}
+#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 110000
+
TEST(UIPasteboardTests, DoNotPastePlainTextAsURL)
{
auto webView = setUpWebViewForPasteboardTests();
EXPECT_TRUE([webView stringByEvaluatingJavaScript:@"!!rich.querySelector('a')"].boolValue);
}
+#endif // __IPHONE_OS_VERSION_MIN_REQUIRED >= 110000
+
} // namespace TestWebKitAPI
#endif