summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/manual-tests/bad-clearTimeout-crash.html
blob: b7ee23c80253bca87891051d8b0c676a606ef75e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
If the back/forward cache is enabled, this test will crash instead of going to the next page that says PASS.

It cannot be automated because DumpRenderTree doesn't support the back/forward cache.

<script>
if (window.layoutTestController)
    layoutTestController.waitUntilDone();

setTimeout('',1000);
clearTimeout(0);
clearTimeout(0);
window.location = "data:text/html,This test shouldn't crash. PASS.<scr" + "ipt>if (window.layoutTestController) layoutTestController.notifyDone()</scr" + "ipt>";
</script>