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

Unified Diff: LayoutTests/svg/as-background-image/animated-svg-animation-control.html

Issue 644093003: NOP refactor to make various layout tests use setTimeout 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 months 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
Index: LayoutTests/svg/as-background-image/animated-svg-animation-control.html
diff --git a/LayoutTests/svg/as-background-image/animated-svg-animation-control.html b/LayoutTests/svg/as-background-image/animated-svg-animation-control.html
index edf2fdd55290b90c5fc005e3c8ddfe1fab382651..6b1365932cd4235d856403888a6d33002d78d5ce 100644
--- a/LayoutTests/svg/as-background-image/animated-svg-animation-control.html
+++ b/LayoutTests/svg/as-background-image/animated-svg-animation-control.html
@@ -9,13 +9,14 @@ var imgurl = "url('../as-image/resources/animated-rect-color.svg')";
div.style.background = imgurl;
setTimeout(function() {
div.style.background = "";
+ // FIXME: we need a better way of waiting for chromium events to happen
setTimeout(function() {
div.style.background = imgurl;
setTimeout(function() {
if (window.testRunner)
testRunner.notifyDone();
}, 10);
- }, 0);
+ }, 1);
}, 100);
</script>

Powered by Google App Engine
This is Rietveld 408576698