Chromium Code Reviews| 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> | 5 <script> |
| 6 | 6 |
| 7 function performActions() | 7 function performActions() |
| 8 { | 8 { |
| 9 console.timeStamp("TIME STAMP"); | 9 console.timeStamp("TIME STAMP"); |
| 10 } | 10 } |
| 11 | 11 |
| 12 function test() | 12 function test() |
| 13 { | 13 { |
| 14 InspectorTest.performActionsAndPrint("performActions()", "TimeStamp", true); | 14 InspectorTest.performActionsAndPrint("performActions()", "TimeStamp", true); |
| 15 } | 15 } |
| 16 | 16 |
| 17 if (!window.testRunner) | |
|
yurys
2015/09/21 18:49:32
Revert?
| |
| 18 setTimeout(performActions, 2000); | |
| 19 | |
| 17 </script> | 20 </script> |
| 18 </head> | 21 </head> |
| 19 | 22 |
| 20 <body onload="runTest()"> | 23 <body onload="runTest()"> |
| 21 <p> | 24 <p> |
| 22 Tests the Timeline API timeStamp feature | 25 Tests the Timeline API timeStamp feature |
| 23 </p> | 26 </p> |
| 24 | 27 |
| 25 </body> | 28 </body> |
| 26 </html> | 29 </html> |
| OLD | NEW |