blob: e64f5f5213afbda12bc156d8c68c9b726ba17973 [file] [log] [blame]
<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>