| Index: third_party/WebKit/LayoutTests/virtual/enable_asmjs/http/tests/asmjs/asm-warnings.html
|
| diff --git a/third_party/WebKit/LayoutTests/virtual/enable_asmjs/http/tests/asmjs/asm-warnings.html b/third_party/WebKit/LayoutTests/virtual/enable_asmjs/http/tests/asmjs/asm-warnings.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..9eb2eaed1405418ebcf24dc30be6f5ccde463dd0
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/virtual/enable_asmjs/http/tests/asmjs/asm-warnings.html
|
| @@ -0,0 +1,27 @@
|
| +<html>
|
| +<body>
|
| +<script>
|
| +if (window.testRunner) {
|
| + testRunner.dumpAsText();
|
| + testRunner.dumpChildFramesAsText();
|
| + 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>
|
|
|