summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/loader/stateobjects/state-attribute-popstate-event.html
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/WebKit/LayoutTests/fast/loader/stateobjects/state-attribute-popstate-event.html')
-rw-r--r--third_party/WebKit/LayoutTests/fast/loader/stateobjects/state-attribute-popstate-event.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/third_party/WebKit/LayoutTests/fast/loader/stateobjects/state-attribute-popstate-event.html b/third_party/WebKit/LayoutTests/fast/loader/stateobjects/state-attribute-popstate-event.html
index d3652f1..eb88105 100644
--- a/third_party/WebKit/LayoutTests/fast/loader/stateobjects/state-attribute-popstate-event.html
+++ b/third_party/WebKit/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>