<body> | |
<p>Test to ensure that finishing a Worker won't re-enter. We pass if we don't crash.</p> | |
<script> | |
if (window.testRunner) { | |
testRunner.dumpAsText(); | |
testRunner.waitUntilDone(); | |
} | |
var worker = new Worker("does-not-exist.js"); | |
worker.onerror = function() { | |
window.stop(); | |
if (window.testRunner) | |
testRunner.notifyDone(); | |
} | |
</script> | |
</body> |