OLD | NEW |
---|---|
(Empty) | |
1 <html> | |
2 <body> | |
3 <script> | |
4 if (window.testRunner) { | |
5 testRunner.dumpAsText(); | |
6 testRunner.dumpChildFramesAsText(); | |
7 testRunner.setDumpConsoleMessages(true); | |
8 testRunner.waitUntilDone(); | |
9 } | |
10 | |
11 function ModuleBadAsm() { | |
12 "use asm"; | |
13 var x = "hi"; | |
14 function foo() {} | |
15 return {bar: foo}; | |
16 } | |
17 ModuleBadAsm(); | |
18 | |
19 var w = new Worker('worker.js'); | |
20 w.onmessage = function(e) { | |
21 testRunner.notifyDone(); | |
22 }; | |
23 w.postMessage({name: 'yo'}); | |
24 | |
25 </script> | |
26 </body> | |
27 </html> | |
OLD | NEW |