summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/browsers/history/the-history-interface/traverse_the_history_write_after_load_2-1.html
blob: 0e58cf573d45774ad42d25d51ff67b965c537046 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<!doctype html>
3
<script>
  onunload = function() {}
  opener.pages.push(3);
  onload = function() {
    document.write("<!doctype html>4<script>opener.pages.push(4); if(!opener.started) {opener.started = true; history.go(-2);} opener.start_test_wait();<\/script>");
    if (opener.started) {
      opener.start_test_wait();
    }
  }
</script>