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

Unified Diff: LayoutTests/fast/css/font-face-css-change-while-loading.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/fast/css/font-face-css-change-while-loading.html
diff --git a/LayoutTests/fast/css/font-face-css-change-while-loading.html b/LayoutTests/fast/css/font-face-css-change-while-loading.html
index bb985543bcd4bb0cbed11f464d4edb8f86f802d8..8ef213f21e548cf9072118449596c1e1a2f524a2 100644
--- a/LayoutTests/fast/css/font-face-css-change-while-loading.html
+++ b/LayoutTests/fast/css/font-face-css-change-while-loading.html
@@ -35,7 +35,8 @@ function finish() {
}
onload = function() {
- setTimeout(runTest, 0);
+ // FIXME: we need a better way of waiting for chromium events to happen
+ setTimeout(runTest, 1);
}
</script>
<p>You should see a black rectangle below.</p>
« no previous file with comments | « LayoutTests/css3/flexbox/repaint-rtl-column.html ('k') | LayoutTests/fast/events/scroll-event-raf-timing.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698