2 <p>Test CustomEvents on workers. Should print
"SUCCESS".
</p>
7 document
.getElementById("result").innerHTML
+= message
+ "<br>";
10 if (window
.testRunner
) {
11 testRunner
.dumpAsText();
12 testRunner
.waitUntilDone();
15 var worker
= new Worker('resources/worker-custom-event.js');
16 worker
.postMessage("");
17 worker
.onmessage = function(evt
) {
19 if (window
.testRunner
)
20 testRunner
.notifyDone();