OLD | NEW |
(Empty) | |
| 1 <html> |
| 2 <head> |
| 3 <script src="../inspector-test.js"></script> |
| 4 <script src="../timeline-test.js"></script> |
| 5 <script src="../network-test.js"></script> |
| 6 <script> |
| 7 |
| 8 function performActions(callback) |
| 9 { |
| 10 var script = document.createElement("script"); |
| 11 script.src = "resources/timeline-script-parse.php"; |
| 12 script.async = true; |
| 13 script.onload = callback; |
| 14 document.body.appendChild(script); |
| 15 } |
| 16 |
| 17 function test() |
| 18 { |
| 19 InspectorTest.invokeAsyncWithTimeline("performActions", finish); |
| 20 |
| 21 function finish() |
| 22 { |
| 23 InspectorTest.printTimelineRecordsWithDetails("v8.parseOnBackground"); |
| 24 InspectorTest.completeTest(); |
| 25 } |
| 26 } |
| 27 |
| 28 </script> |
| 29 </head> |
| 30 |
| 31 <body onload="runTest()"> |
| 32 <p> |
| 33 Tests the Timeline events for v8.parseOnBackground |
| 34 </p> |
| 35 |
| 36 </body> |
| 37 </html> |
OLD | NEW |