| 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 panel = WebInspector.showPanel("scripts"); | 11 var panel = WebInspector.showPanel("sources"); |
| 12 | 12 |
| 13 function selectionToSearchInputTest() { | 13 function selectionToSearchInputTest() { |
| 14 WebInspector.searchController.showSearchField(); | 14 WebInspector.searchController.showSearchField(); |
| 15 InspectorTest.addResult(WebInspector.searchController._searchInputElemen
t.value); | 15 InspectorTest.addResult(WebInspector.searchController._searchInputElemen
t.value); |
| 16 WebInspector.advancedSearchController.show(); | 16 WebInspector.advancedSearchController.show(); |
| 17 InspectorTest.addResult(WebInspector.advancedSearchController._searchVie
w._search.value); | 17 InspectorTest.addResult(WebInspector.advancedSearchController._searchVie
w._search.value); |
| 18 } | 18 } |
| 19 | 19 |
| 20 InspectorTest.showScriptSource("edit-me.js", didShowScriptSource); | 20 InspectorTest.showScriptSource("edit-me.js", didShowScriptSource); |
| 21 | 21 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 | 57 |
| 58 </script> | 58 </script> |
| 59 | 59 |
| 60 </head> | 60 </head> |
| 61 | 61 |
| 62 <body onload="runTest()"> | 62 <body onload="runTest()"> |
| 63 <p>Tests synchronizing the search input field to the editor selection.</p> | 63 <p>Tests synchronizing the search input field to the editor selection.</p> |
| 64 | 64 |
| 65 </body> | 65 </body> |
| 66 </html> | 66 </html> |
| OLD | NEW |