Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / loader / stateobjects / resources / pushstate-without-history.html
blobe61a1c105ef9453b19f7e2906c25c997bf978de9
1 <html>
2 <head>
3 <script>
5 function runTest()
7 history.pushState("New history Item", "1Ping!");
8 history.pushState("New history Item", "2Ping!");
9 history.pushState("New history Item", "3Ping!");
10 window.opener.document.getElementById("result").innerText = "history.length is: " + history.length;
11 if (window.opener.testRunner)
12 window.opener.testRunner.notifyDone();
13 window.close()
16 </script>
17 <body onload="runTest();" >
18 </body>
19 </html>