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

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

  </body>
</html>