WebCore/manual-tests/bad-clearTimeout-crash.html
changeset 0 4f2f89ce4247
equal deleted inserted replaced
-1:000000000000 0:4f2f89ce4247
       
     1 If the back/forward cache is enabled, this test will crash instead of going to the next page that says PASS.
       
     2 
       
     3 It cannot be automated because DumpRenderTree doesn't support the back/forward cache.
       
     4 
       
     5 <script>
       
     6 if (window.layoutTestController)
       
     7     layoutTestController.waitUntilDone();
       
     8 
       
     9 setTimeout('',1000);
       
    10 clearTimeout(0);
       
    11 clearTimeout(0);
       
    12 window.location = "data:text/html,This test shouldn't crash. PASS.<scr" + "ipt>if (window.layoutTestController) layoutTestController.notifyDone()</scr" + "ipt>";
       
    13 </script>