summaryrefslogtreecommitdiffstats
path: root/WebCore/manual-tests/bad-clearTimeout-crash.html
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/manual-tests/bad-clearTimeout-crash.html')
-rw-r--r--WebCore/manual-tests/bad-clearTimeout-crash.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/WebCore/manual-tests/bad-clearTimeout-crash.html b/WebCore/manual-tests/bad-clearTimeout-crash.html
new file mode 100644
index 0000000..b7ee23c
--- /dev/null
+++ b/WebCore/manual-tests/bad-clearTimeout-crash.html
@@ -0,0 +1,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>