summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/browsers/history/the-history-interface/traverse_the_history_1-1.html
blob: a11fcf2d2d2f9bd8abf2d01c49e030433fc61e2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!doctype html>
4
<script>
  onunload = function() {}

  opener.pages.push(4);
  if (!opener.started) {
    onload = function() {
      setTimeout(function() {
        opener.started = true;
        history.go(-2);
        history.go(-1);
      }, 100);
    }
  } else {
    opener.start_test_wait();
  }
</script>