| 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.start", {}, didFailToStartWhenDisabled); | 12 InspectorTest.sendCommand("Profiler.start", {}, didFailToStartWhenDisabled); |
| 13 disallowConsoleProfiles(); | 13 disallowConsoleProfiles(); |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 } | 80 } |
| 81 } | 81 } |
| 82 </script> | 82 </script> |
| 83 </head> | 83 </head> |
| 84 <body onload="runTest()"> | 84 <body onload="runTest()"> |
| 85 <p> | 85 <p> |
| 86 Test that profiling can only be started when Profiler was enabled and that | 86 Test that profiling can only be started when Profiler was enabled and that |
| 87 Profiler.disable command will stop recording all profiles. | 87 Profiler.disable command will stop recording all profiles. |
| 88 </body> | 88 </body> |
| 89 </html> | 89 </html> |
| OLD | NEW |