Index: LayoutTests/resources/run-after-display.js |
diff --git a/LayoutTests/resources/run-after-display.js b/LayoutTests/resources/run-after-display.js |
index c42de0fa4429b14fb6bc2605a6222e445fd95ea7..f4056c033fcc0cbaeb5c6c15cd546b2bbed2fa84 100644 |
--- a/LayoutTests/resources/run-after-display.js |
+++ b/LayoutTests/resources/run-after-display.js |
@@ -3,6 +3,7 @@ function runAfterDisplay(callback) { |
// At this point, only the animate has happened, but no compositing |
// or layout. Use a timeout for the callback so that notifyDone |
// can be called inside of it. |
- window.setTimeout(callback, 0); |
+ // FIXME: we need a better way of waiting for chromium events to happen |
+ window.setTimeout(callback, 1); |
}); |
} |