blob: 0e3e842b470c5ab5ae1df6e292b0f1c2155f7dd0 [file] [log] [blame]
<script>
if (window.testRunner) {
testRunner.clearBackForwardList();
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
onpopstate = function() {
history.pushState(null, null);
if (window.testRunner)
testRunner.notifyDone();
}
onload = function() {
history.pushState(null, null);
history.back();
}
</script>
<body>
This test checks to make sure that calling pushState() from within a popstate event handler doesn't ASSERT or crash.
</body>