Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Unified Diff: LayoutTests/inspector/editor/text-editor-selection-to-search.html

Issue 236683004: DevTools: Merge SearchView into AdvancedSearchController (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Change getter to method Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/devtools/devtools.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/inspector/editor/text-editor-selection-to-search.html
diff --git a/LayoutTests/inspector/editor/text-editor-selection-to-search.html b/LayoutTests/inspector/editor/text-editor-selection-to-search.html
index 06661e2dfbc9e9d6e28278f55a7962fbe02e03d2..37c11ffffda9ba3ade8570d044ad661f4cc9dd96 100644
--- a/LayoutTests/inspector/editor/text-editor-selection-to-search.html
+++ b/LayoutTests/inspector/editor/text-editor-selection-to-search.html
@@ -23,8 +23,16 @@ function test()
{
panel.searchableView().showSearchField();
InspectorTest.addResult("Search controller: '" + panel.searchableView()._searchInputElement.value + "'");
- WebInspector.advancedSearchController.show();
- InspectorTest.addResult("Advanced search controller: '" + WebInspector.advancedSearchController._searchView._search.value + "'");
+ var extensions = WebInspector.moduleManager.extensions("drawer-view");
+ var searchView;
+ for (var i = 0; i < extensions.length; ++i) {
+ if (extensions[i].descriptor()["name"] === "search") {
+ searchView = extensions[i].instance();
+ break;
+ }
+ }
+ searchView.toggle();
+ InspectorTest.addResult("Advanced search controller: '" + searchView._search.value + "'");
InspectorTest.completeTest();
}
« no previous file with comments | « no previous file | Source/devtools/devtools.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698