| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script type="text/javascript" src="../../http/tests/inspector-protocol/resource
s/protocol-test.js"></script> | 3 <script type="text/javascript" src="../../http/tests/inspector-protocol/inspecto
r-protocol-test.js"></script> |
| 4 <script> | 4 <script> |
| 5 if (window.testRunner) { | 5 if (window.testRunner) { |
| 6 testRunner.dumpAsText(); | 6 testRunner.dumpAsText(); |
| 7 testRunner.waitUntilDone(); | 7 testRunner.waitUntilDone(); |
| 8 } | 8 } |
| 9 | 9 |
| 10 function test() | 10 function test() |
| 11 { | 11 { |
| 12 InspectorTest.sendCommand("Profiler.enable", {}); | 12 InspectorTest.sendCommand("Profiler.enable", {}); |
| 13 InspectorTest.sendCommand("Profiler.start", {}, didStartFrontendProfile); | 13 InspectorTest.sendCommand("Profiler.start", {}, didStartFrontendProfile); |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 } | 53 } |
| 54 } | 54 } |
| 55 </script> | 55 </script> |
| 56 </head> | 56 </head> |
| 57 <body onload="runTest()"> | 57 <body onload="runTest()"> |
| 58 <p> | 58 <p> |
| 59 Test that profiler is able to record a profile. | 59 Test that profiler is able to record a profile. |
| 60 Also it tests that profiler returns an error when it unable to find the profile. | 60 Also it tests that profiler returns an error when it unable to find the profile. |
| 61 </body> | 61 </body> |
| 62 </html> | 62 </html> |
| OLD | NEW |