Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(871)

Side by Side Diff: third_party/WebKit/LayoutTests/virtual/enable_asmjs/http/tests/asmjs/asm-warnings.html

Issue 2530503002: [wasm][asm.js] Routing asm.js warnings to the dev console. (Closed)
Patch Set: merge Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698