diff options
Diffstat (limited to 'Tools/TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayout.cpp')
-rw-r--r-- | Tools/TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayout.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Tools/TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayout.cpp b/Tools/TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayout.cpp index d4939ce67..c703283f9 100644 --- a/Tools/TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayout.cpp +++ b/Tools/TestWebKitAPI/Tests/WebKit2/NewFirstVisuallyNonEmptyLayout.cpp @@ -54,7 +54,9 @@ TEST(WebKit2, NewFirstVisuallyNonEmptyLayout) PlatformWebView webView(context.get()); setPageLoaderClient(webView.page()); - WKPageLoadURL(webView.page(), adoptWK(Util::createURLForResource("simple", "html")).get()); + // This test is expected to succeed because lots-of-text.html is a large document and the relevant painted + // objects take up more than 10% of the view. + WKPageLoadURL(webView.page(), adoptWK(Util::createURLForResource("lots-of-text", "html")).get()); Util::run(&didNewFirstVisuallyNonEmptyLayoutSucceed); EXPECT_TRUE(didNewFirstVisuallyNonEmptyLayoutSucceed); |