4 function timeoutHandler() {
5 // Invoke it a few times so that we get the nesting
9 clearInterval(intervalID
);
11 if (window
.testRunner
)
12 testRunner
.notifyDone();
20 if (window
.testRunner
) {
21 testRunner
.dumpAsText()
22 testRunner
.waitUntilDone();
25 intervalID
= setInterval(timeoutHandler
, 1);
29 <body onload=
"runTests()">
30 This tests that removing an interval timer inside of its timeout handler does not cause a crash. Success, didn't crash!