Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(76)

Unified Diff: LayoutTests/http/tests/images/webp-partial-load.html

Issue 733633003: Remove some unreliable usages of setTimeout( ,0) from layout tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/http/tests/images/png-partial-load-no-alpha.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/images/webp-partial-load.html
diff --git a/LayoutTests/http/tests/images/webp-partial-load.html b/LayoutTests/http/tests/images/webp-partial-load.html
index 807e736a13826d819ec223c5e667e3c92858e65d..2d00819c45a7e99fe52f947b11254993c09a0468 100644
--- a/LayoutTests/http/tests/images/webp-partial-load.html
+++ b/LayoutTests/http/tests/images/webp-partial-load.html
@@ -27,5 +27,7 @@ function runTest()
setTimeout(testDone, 500);
}
-setTimeout(runTest, 1);
+window.onload = function() {
+ setTimeout(runTest, 0);
+}
</script>
« no previous file with comments | « LayoutTests/http/tests/images/png-partial-load-no-alpha.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698