blob: 0e3e842b470c5ab5ae1df6e292b0f1c2155f7dd0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<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>
|