Most css1/ tests should wait for basebg.gif to be loaded
Many css1/ tests compare the image output with the expected one. They expected
that tests finish when the layout result becomes stable.
But the test runner may finish tests before loading some resources. Even worse,
the document load event may be dispatched before loading some resources. They're
working by chance, and changing the loading timing a bit will break them.
This CL makes those tests wait for css1/resources/basebg.gif to be loaded.
BUG=603396, 675870
Review-Url: https://codereview.chromium.org/2588283002
Cr-Commit-Position: refs/heads/master@{#439733}
diff --git a/third_party/WebKit/LayoutTests/VirtualTestSuites b/third_party/WebKit/LayoutTests/VirtualTestSuites
index 647c0fc..a4fee8c 100644
--- a/third_party/WebKit/LayoutTests/VirtualTestSuites
+++ b/third_party/WebKit/LayoutTests/VirtualTestSuites
@@ -291,6 +291,11 @@
"args": ["--enable-blink-features=LoadingWithMojo"]
},
{
+ "prefix": "mojo-loading",
+ "base": "css1",
+ "args": ["--enable-blink-features=LoadingWithMojo"]
+ },
+ {
"prefix": "scalefactor150",
"base": "fast/events/synthetic-events",
"args": ["--force-device-scale-factor=1.5"]