blob: ab22699dbcf71fcbac4a24f00277d72eea625be1 [file] [log] [blame]
<script>
if (window.testRunner) {
testRunner.waitUntilDone();
testRunner.dumpAsText();
testRunner.dumpFrameLoadCallbacks();
}
var n = 0;
function runTest() {
if (++n > 5) {
if (window.testRunner)
testRunner.notifyDone();
return;
}
history.replaceState({}, 'State ' + n, 'http://127.0.0.1:8000/globalhistory/history-delegate-replacestate.html?' + n);
setTimeout(runTest, 10);
}
</script>
<body onload="setTimeout(runTest, 10);">
This tests functionality of the history delegate related to history.replaceState.
</body>