WebCore/manual-tests/bad-clearTimeout-crash.html
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 17 Sep 2010 09:07:27 +0300
branchRCL_3
changeset 1 9d347b658349
parent 0 4f2f89ce4247
permissions -rw-r--r--
Revision: 201037

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>