| 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/debugger-test.js"></script> | 4 <script src="../../http/tests/inspector/debugger-test.js"></script> |
| 5 <script src="../../http/tests/inspector/live-edit-test.js"></script> | 5 <script src="../../http/tests/inspector/live-edit-test.js"></script> |
| 6 <script src="resources/edit-me-when-paused.js"></script> | 6 <script src="resources/edit-me-when-paused.js"></script> |
| 7 | 7 |
| 8 <script> | 8 <script> |
| 9 | 9 |
| 10 function test() | 10 function test() |
| 11 { | 11 { |
| 12 var panel = WebInspector.showPanel("scripts"); | 12 var panel = WebInspector.showPanel("sources"); |
| 13 var sourceFrame; | 13 var sourceFrame; |
| 14 | 14 |
| 15 InspectorTest.runDebuggerTestSuite([ | 15 InspectorTest.runDebuggerTestSuite([ |
| 16 function testLiveEditWhenPausedDoesNotCauseCursorMove(next) | 16 function testLiveEditWhenPausedDoesNotCauseCursorMove(next) |
| 17 { | 17 { |
| 18 InspectorTest.showScriptSource("edit-me-when-paused.js", didShowScri
ptSource); | 18 InspectorTest.showScriptSource("edit-me-when-paused.js", didShowScri
ptSource); |
| 19 | 19 |
| 20 function didShowScriptSource(sourceFrame) | 20 function didShowScriptSource(sourceFrame) |
| 21 { | 21 { |
| 22 InspectorTest.waitUntilPaused(paused); | 22 InspectorTest.waitUntilPaused(paused); |
| (...skipping 29 matching lines...) Expand all Loading... |
| 52 | 52 |
| 53 </script> | 53 </script> |
| 54 | 54 |
| 55 </head> | 55 </head> |
| 56 | 56 |
| 57 <body onload="runTest()"> | 57 <body onload="runTest()"> |
| 58 <p>Tests live edit feature.</p> | 58 <p>Tests live edit feature.</p> |
| 59 | 59 |
| 60 </body> | 60 </body> |
| 61 </html> | 61 </html> |
| OLD | NEW |