summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/browsers/history/the-history-interface/traverse_the_history_3-1.html
blob: c49bfd384a29a509fd1ecd764c3b6f895dbec31d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!doctype html>
<script src="history.js"></script>
<script>
  opener.pages.push(id);
  if (!opener.started) {
    onload = function() {
      setTimeout(function() {
        opener.started = true;
        history.go(-2);
        history.go(-1);
        history.go(3);
      }, 100);
    }
  } else {
    opener.start_test_wait();
  }
</script>