summaryrefslogtreecommitdiffstats
path: root/docshell/test/navigation/file_new_shentry_during_history_navigation_2.html
diff options
context:
space:
mode:
Diffstat (limited to 'docshell/test/navigation/file_new_shentry_during_history_navigation_2.html')
-rw-r--r--docshell/test/navigation/file_new_shentry_during_history_navigation_2.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/docshell/test/navigation/file_new_shentry_during_history_navigation_2.html b/docshell/test/navigation/file_new_shentry_during_history_navigation_2.html
new file mode 100644
index 0000000000..de456f8f1c
--- /dev/null
+++ b/docshell/test/navigation/file_new_shentry_during_history_navigation_2.html
@@ -0,0 +1,10 @@
+<script>
+ onload = function() {
+ opener.postMessage("load");
+ }
+
+ onbeforeunload = function() {
+ opener.postMessage("beforeunload");
+ history.pushState("data1", "", "?push1");
+ }
+</script>