summaryrefslogtreecommitdiffstats
path: root/docshell/test/navigation/file_new_shentry_during_history_navigation_2.html
blob: de456f8f1cf07ed61f500f2eadc6e356927c749d (plain)
1
2
3
4
5
6
7
8
9
10
<script>
  onload = function() {
    opener.postMessage("load");
  }

  onbeforeunload = function() {
    opener.postMessage("beforeunload");
    history.pushState("data1", "", "?push1");
  }
</script>