| 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 simpleConsoleTime() | 7 function simpleConsoleTime() |
| 8 { | 8 { |
| 9 console.time("a"); | 9 console.time("a"); |
| 10 console.timeEnd("a"); | 10 console.timeEnd("a"); |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 console.timeStamp("Bar"); | 44 console.timeStamp("Bar"); |
| 45 console.time("b"); | 45 console.time("b"); |
| 46 console.time("c"); | 46 console.time("c"); |
| 47 console.time("d"); | 47 console.time("d"); |
| 48 console.timeStamp("Baz"); | 48 console.timeStamp("Baz"); |
| 49 console.timeEnd("d"); | 49 console.timeEnd("d"); |
| 50 } | 50 } |
| 51 | 51 |
| 52 function test() | 52 function test() |
| 53 { | 53 { |
| 54 InspectorTest.startDumpingProtocolMessages(); |
| 54 InspectorTest.runTestSuite([ | 55 InspectorTest.runTestSuite([ |
| 55 function testSimpleConsoleTime(next) | 56 function testSimpleConsoleTime(next) |
| 56 { | 57 { |
| 57 performActions("simpleConsoleTime()", next); | 58 performActions("simpleConsoleTime()", next); |
| 58 }, | 59 }, |
| 59 | 60 |
| 60 function testNestedConsoleTime(next) | 61 function testNestedConsoleTime(next) |
| 61 { | 62 { |
| 62 performActions("nestedConsoleTime()", next); | 63 performActions("nestedConsoleTime()", next); |
| 63 }, | 64 }, |
| (...skipping 23 matching lines...) Expand all Loading... |
| 87 } | 88 } |
| 88 | 89 |
| 89 </script> | 90 </script> |
| 90 </head> | 91 </head> |
| 91 | 92 |
| 92 <body onload="runTest()"> | 93 <body onload="runTest()"> |
| 93 <p>Test nesting of time/timeEnd records on Timeline</p> | 94 <p>Test nesting of time/timeEnd records on Timeline</p> |
| 94 | 95 |
| 95 </body> | 96 </body> |
| 96 </html> | 97 </html> |
| OLD | NEW |