blob: 250baf7a9a3c936fa9ad6146542b88cc4114f7be [file] [log] [blame]
<script>
if (window.layoutTestController) {
layoutTestController.clearBackForwardList();
layoutTestController.dumpAsText();
layoutTestController.waitUntilDone();
}
onpopstate = function() {
history.pushState(null, null);
if (window.layoutTestController)
layoutTestController.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>