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

Unified Diff: LayoutTests/svg/custom/js-late-pattern-and-object-creation.svg

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/custom/js-late-pattern-and-object-creation.svg
diff --git a/LayoutTests/svg/custom/js-late-pattern-and-object-creation.svg b/LayoutTests/svg/custom/js-late-pattern-and-object-creation.svg
index bfe76a1c9e3dc3c939e7a94ab6907eafddd0b374..c21c2dc6a0deeac09743d0d21e678bc763965c93 100644
--- a/LayoutTests/svg/custom/js-late-pattern-and-object-creation.svg
+++ b/LayoutTests/svg/custom/js-late-pattern-and-object-creation.svg
@@ -9,7 +9,8 @@
var content = document.getElementById("content");
function repaintTest() {
- setTimeout(createPatterns, 0);
+ // FIXME: we need a better way of waiting for layout/repainting to happen
+ setTimeout(createPatterns, 1);
}
function createPatterns()
@@ -70,7 +71,8 @@
content.appendChild(pattern2);
- setTimeout(setupPatternUsers, 0);
+ // FIXME: we need a better way of waiting for layout/repainting to happen
+ setTimeout(setupPatternUsers, 1);
}
function setupPatternUsers()
« no previous file with comments | « LayoutTests/svg/custom/js-late-mask-and-object-creation.svg ('k') | LayoutTests/svg/custom/js-late-pattern-creation.svg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698