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() |