| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script> | 4 <script> |
| 5 window.isOnErrorTest = true; | 5 window.isOnErrorTest = true; |
| 6 </script> | 6 </script> |
| 7 <script src="../../resources/js-test.js"></script> | 7 <script src="../../resources/js-test.js"></script> |
| 8 <script> | 8 <script> |
| 9 function buildInlineWorker() { | 9 function buildInlineWorker() { |
| 10 var script = document.getElementById('workerCode').innerText; | 10 var script = document.getElementById('workerCode').innerText; |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 console.log(console.log.toString()); | 28 console.log(console.log.toString()); |
| 29 console.error("error"); | 29 console.error("error"); |
| 30 console.warn("warn"); | 30 console.warn("warn"); |
| 31 console.info("info"); | 31 console.info("info"); |
| 32 console.debug("debug"); | 32 console.debug("debug"); |
| 33 console.count("count"); | 33 console.count("count"); |
| 34 console.time("time"); | 34 console.time("time"); |
| 35 /* | 35 /* |
| 36 // FIXME(slightlyoff): these aren't getting logged properly from here! | 36 // FIXME(slightlyoff): these aren't getting logged properly from here! |
| 37 console.timeEnd("time"); | 37 console.timeEnd("time"); |
| 38 */ |
| 38 console.assert(true); | 39 console.assert(true); |
| 39 console.assert(false); | 40 console.assert(false); |
| 40 console.markTimeline("markTimeline"); | 41 console.markTimeline("markTimeline"); |
| 41 */ | |
| 42 this.postMessage({ done: true }); | 42 this.postMessage({ done: true }); |
| 43 </script> | 43 </script> |
| 44 <script> | 44 <script> |
| 45 window.jsTestIsAsync = true; | 45 window.jsTestIsAsync = true; |
| 46 description("This tests that 'console.log' and friends function correctl
y from workers."); | 46 description("This tests that 'console.log' and friends function correctl
y from workers."); |
| 47 buildInlineWorker(); | 47 buildInlineWorker(); |
| 48 </script> | 48 </script> |
| 49 </body> | 49 </body> |
| 50 </html> | 50 </html> |
| OLD | NEW |