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

Unified Diff: LayoutTests/fast/loader/stateobjects/state-attribute-popstate-event.html

Issue 561813003: Prepare blink to unify definitions of load completion (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add document.close() to scroll-left-while-loading.html 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/loader/stateobjects/state-attribute-popstate-event.html
diff --git a/LayoutTests/fast/loader/stateobjects/state-attribute-popstate-event.html b/LayoutTests/fast/loader/stateobjects/state-attribute-popstate-event.html
index d3652f1a033d9414148b59da6b5a58b242ab1911..eb881055e4a7594102ed793e78c55521b8157628 100644
--- a/LayoutTests/fast/loader/stateobjects/state-attribute-popstate-event.html
+++ b/LayoutTests/fast/loader/stateobjects/state-attribute-popstate-event.html
@@ -36,7 +36,9 @@
}
debug("Go back");
- history.back();
+ window.onload = function() {
+ history.back();
+ };
</script>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698