| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../js/resources/js-test-pre.js"></script> | 4 <script src="../js/resources/js-test-pre.js"></script> |
| 5 <script> | 5 <script> |
| 6 if (window.testRunner) { | 6 if (window.testRunner) { |
| 7 testRunner.dumpAsText(); | 7 testRunner.dumpAsText(); |
| 8 testRunner.waitUntilDone(); | 8 testRunner.waitUntilDone(); |
| 9 } | 9 } |
| 10 | 10 |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 self.addEventListener("connect", function (e) { | 43 self.addEventListener("connect", function (e) { |
| 44 var port = e.ports[0]; | 44 var port = e.ports[0]; |
| 45 port.postMessage({ done: true }); | 45 port.postMessage({ done: true }); |
| 46 }); | 46 }); |
| 47 </script> | 47 </script> |
| 48 <script> | 48 <script> |
| 49 window.jsTestIsAsync = true; | 49 window.jsTestIsAsync = true; |
| 50 description("This tests that 'console.log' and friends function correctl
y from workers."); | 50 description("This tests that 'console.log' and friends function correctl
y from workers."); |
| 51 buildInlineSharedWorker(); | 51 buildInlineSharedWorker(); |
| 52 </script> | 52 </script> |
| 53 <script src="../js/resources/js-test-post.js"></script> | |
| 54 </body> | 53 </body> |
| 55 </html> | 54 </html> |
| OLD | NEW |