2 <p>Test to ensure that finishing a Worker won't re-enter. We pass if we don't crash.
</p>
5 if (window
.testRunner
) {
6 testRunner
.dumpAsText();
7 testRunner
.waitUntilDone();
10 var worker
= new Worker("does-not-exist.js");
11 worker
.onerror = function() {
13 if (window
.testRunner
)
14 testRunner
.notifyDone();