<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>
