4 document.getElementById("result").innerHTML += message + "<br>";
7 if (window.testRunner) {
8 testRunner.dumpAsText();
9 testRunner.waitUntilDone();
12 var worker = createWorker();
13 worker.postMessage("eval self.MessageEvent = 'PASS'; MessageEvent;");
14 worker.postMessage("eval foo//bar");
16 worker.onmessage = function(evt) {
17 if (!/foo\/\/bar/.test(evt.data))
21 if (window.testRunner)
22 testRunner.notifyDone();