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="../debugger/resources/edit-me.js"></script> | 5 <script src="../debugger/resources/edit-me.js"></script> |
6 | 6 |
7 <script> | 7 <script> |
8 | 8 |
9 function test() | 9 function test() |
10 { | 10 { |
11 var textEditor; | 11 var textEditor; |
12 WebInspector.showPanel("scripts"); | 12 WebInspector.showPanel("sources"); |
13 InspectorTest.showScriptSource("edit-me.js", didShowScriptSource); | 13 InspectorTest.showScriptSource("edit-me.js", didShowScriptSource); |
14 | 14 |
15 function showReplaceField() | 15 function showReplaceField() |
16 { | 16 { |
17 WebInspector.searchController.showSearchField(); | 17 WebInspector.searchController.showSearchField(); |
18 document.getElementById("search-replace-trigger").click(); | 18 document.getElementById("search-replace-trigger").click(); |
19 } | 19 } |
20 | 20 |
21 function runReplaceAll(searchValue, replaceValue) | 21 function runReplaceAll(searchValue, replaceValue) |
22 { | 22 { |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 | 60 |
61 </script> | 61 </script> |
62 | 62 |
63 </head> | 63 </head> |
64 | 64 |
65 <body onload="runTest()"> | 65 <body onload="runTest()"> |
66 <p>Tests the search replace functionality.</p> | 66 <p>Tests the search replace functionality.</p> |
67 | 67 |
68 </body> | 68 </body> |
69 </html> | 69 </html> |
OLD | NEW |