blob: 90b4cd013894ac9bd4fe6aa3c88a477d55ff7de4 [file] [log] [blame]
<p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=23007">bug 23007</a>:
Timer-related crash when closing Web Inspector.</p>
<p>PASS if no crash.</p>
<script>
if (window.testRunner) {
testRunner.waitUntilDone();
testRunner.dumpAsText();
}
var timeoutID;
function test()
{
clearTimeout(timeoutID);
if (window.testRunner)
setTimeout(function() { testRunner.notifyDone() }, 0);
}
timeoutID = setTimeout(test, 0);
</script>