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

Unified Diff: LayoutTests/fast/loader/stateobjects/state-attribute-only-one-deserialization.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-only-one-deserialization.html
diff --git a/LayoutTests/fast/loader/stateobjects/state-attribute-only-one-deserialization.html b/LayoutTests/fast/loader/stateobjects/state-attribute-only-one-deserialization.html
index 0317c525afc0a8a03552af0e644d6ef3b61b6a48..b98773726def0faa9e6777de5f5c9fcc3617c147 100644
--- a/LayoutTests/fast/loader/stateobjects/state-attribute-only-one-deserialization.html
+++ b/LayoutTests/fast/loader/stateobjects/state-attribute-only-one-deserialization.html
@@ -52,7 +52,9 @@
// Now let's go back to our original history entry which has a state object that we've stored a reference to already.
// This will fire our popstate event handler above.
- history.back();
+ window.onload = function() {
+ history.back();
+ };
</script>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698