5 if (window
.testRunner
) {
6 testRunner
.setCanOpenWindows();
7 testRunner
.clearBackForwardList();
8 testRunner
.dumpAsText();
9 testRunner
.waitUntilDone();
12 <body onload=
"window.open('resources/pushstate-without-history.html');" >
13 <pre>This test checks if history.length is correct after a few history.pushState calls.
</pre>
15 <pre id=
"result">Test failed
</pre>