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

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

Issue 232133008: DevTools: Make replace checkbox id in SearchableView unique. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/front_end/SearchableView.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/inspector/editor/text-editor-search-replace.html
diff --git a/LayoutTests/inspector/editor/text-editor-search-replace.html b/LayoutTests/inspector/editor/text-editor-search-replace.html
index 00e9b487a81043c09d519b23cd720ff00ffb9ca8..39df048eae9142d3385206ebfaaeadf6ed9236eb 100644
--- a/LayoutTests/inspector/editor/text-editor-search-replace.html
+++ b/LayoutTests/inspector/editor/text-editor-search-replace.html
@@ -14,8 +14,9 @@ function test()
function showReplaceField()
{
- WebInspector.panels.sources.searchableView().showSearchField();
- document.getElementById("search-replace-trigger").click();
+ var searchableView = WebInspector.panels.sources.searchableView();
+ searchableView.showSearchField();
+ searchableView._replaceCheckboxElement.click();
}
function runReplaceAll(searchValue, replaceValue)
« no previous file with comments | « no previous file | Source/devtools/front_end/SearchableView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698