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

Unified Diff: LayoutTests/svg/custom/pending-resource-after-removal.xhtml

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/pending-resource-after-removal.xhtml
diff --git a/LayoutTests/svg/custom/pending-resource-after-removal.xhtml b/LayoutTests/svg/custom/pending-resource-after-removal.xhtml
index 9100804228ade013e35d1ba5fe06b59ef8523c28..5eca81b5da06143913f537b4119775485fec30c6 100644
--- a/LayoutTests/svg/custom/pending-resource-after-removal.xhtml
+++ b/LayoutTests/svg/custom/pending-resource-after-removal.xhtml
@@ -48,7 +48,8 @@ function updateFill() {
function repaintTest() {
updateFill();
- setTimeout("updateFill()", 0);
+ // FIXME: we need a better way of waiting for layout/repainting to happen
+ setTimeout("updateFill()", 1);
}
</script>
<body onload="runRepaintAndPixelTest()">
« no previous file with comments | « LayoutTests/svg/custom/js-late-pattern-creation.svg ('k') | LayoutTests/svg/custom/resource-client-removal.svg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698