OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script src="../../../http/tests/inspector/inspector-test.js"></script> | 3 <script src="../../http/tests/inspector/inspector-test.js"></script> |
4 <script src="../../../http/tests/inspector/timeline-test.js"></script> | 4 <script src="../../http/tests/inspector/timeline-test.js"></script> |
5 <script src="../../tracing-test.js"></script> | 5 <script src="../tracing-test.js"></script> |
6 <script> | 6 <script> |
7 | 7 |
8 function startWorkerAndRunTest() | 8 function startWorkerAndRunTest() |
9 { | 9 { |
10 var worker1 = new Worker("resources/worker.js"); | 10 var worker1 = new Worker("resources/worker.js"); |
11 worker1.postMessage(""); | 11 worker1.postMessage(""); |
12 | 12 |
13 if (window.testRunner) { | 13 if (window.testRunner) { |
14 testRunner.dumpAsText(); | 14 testRunner.dumpAsText(); |
15 testRunner.waitUntilDone(); | 15 testRunner.waitUntilDone(); |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 | 63 |
64 </script> | 64 </script> |
65 </head> | 65 </head> |
66 | 66 |
67 <body onload="startWorkerAndRunTest()"> | 67 <body onload="startWorkerAndRunTest()"> |
68 <p> | 68 <p> |
69 Tests that worker events are recorded with proper devtools metadata events. | 69 Tests that worker events are recorded with proper devtools metadata events. |
70 </p> | 70 </p> |
71 </body> | 71 </body> |
72 </html> | 72 </html> |
OLD | NEW |