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

Unified Diff: LayoutTests/fast/history/redirect-via-iframe.html

Issue 615033002: Refactor of various layout tests to use RAF (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix use-detatch.svg 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/history/redirect-via-iframe.html
diff --git a/LayoutTests/fast/history/redirect-via-iframe.html b/LayoutTests/fast/history/redirect-via-iframe.html
index 1b8ace90752a744b0113c3551680382aa5cc1844..133a30821b11a013e8f5d0b81cf4f428eb400ab0 100644
--- a/LayoutTests/fast/history/redirect-via-iframe.html
+++ b/LayoutTests/fast/history/redirect-via-iframe.html
@@ -12,7 +12,7 @@
// Navigate via an iframe redirect (to change the referrer, though we're
// not interested in that in this test) should still generate a history
// entry, since we're doing it after onload.
- window.setTimeout(navigate, 0);
+ window.requestAnimationFrame(navigate);
}
function navigate()

Powered by Google App Engine
This is Rietveld 408576698