summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/browsers/history/the-history-interface/009-1.html
blob: 00b72e8ec65b73be9ba22d028e68cf8760235558 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!doctype html>
<html>
  <head>
    <title>history.pushState/replaceState and referer headers</title>
  </head>
  <body>

    <noscript><p>Enable JavaScript and reload</p></noscript>
    <div id="log"></div>
    <script type="text/javascript">
window.onload = function () {
  setTimeout(function () {
    try { history.pushState('','','009-2.html?1234'); } catch(e) {}
    location.href = '009-3.html?pipe=sub';
  },10);
};
    </script>

  </body>
</html>