blob: fba4f54bf88115fb70cd0d6ccf54c65d42d6f795 [file] [log] [blame]
<html>
<body>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.dumpChildFrames();
testRunner.setDumpConsoleMessages(true);
testRunner.waitUntilDone();
}
function ModuleBadAsm() {
"use asm";
var x = "hi";
function foo() {}
return {bar: foo};
}
ModuleBadAsm();
var w = new Worker('worker.js');
w.onmessage = function(e) {
testRunner.notifyDone();
};
w.postMessage({name: 'yo'});
</script>
</body>
</html>