2 <p>Test calling functions from WorkerContext. Should print multiple SUCCESS lines, followed by DONE.
</p>
6 if (window
.testRunner
) {
7 testRunner
.dumpAsText();
8 testRunner
.waitUntilDone();
13 document
.getElementById("result").innerHTML
+= message
+ "<br>";
16 var worker
= new Worker("resources/worker-call.js");
17 worker
.onmessage = function(event
) {
19 if (event
.data
== "DONE") {
20 if (window
.testRunner
)
21 testRunner
.notifyDone();