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

Unified Diff: chrome/test/data/webui/settings/basic_page_browsertest.js

Issue 2739323005: MD Settings: Allow search within settings to track multiple requests separately. (Closed)
Patch Set: Address comments. Created 3 years, 9 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
Index: chrome/test/data/webui/settings/basic_page_browsertest.js
diff --git a/chrome/test/data/webui/settings/basic_page_browsertest.js b/chrome/test/data/webui/settings/basic_page_browsertest.js
index 9a290f70ce12da59151a7a3575aa40fc25eeb0d4..c0a186f0822caff15d5f540f23874267b8ae5a33 100644
--- a/chrome/test/data/webui/settings/basic_page_browsertest.js
+++ b/chrome/test/data/webui/settings/basic_page_browsertest.js
@@ -56,7 +56,8 @@ TEST_F('SettingsBasicPageBrowserTest', 'MAYBE_Load', function() {
/** @override */
search: function(text, page) {
if (this.searchRequest_ == null || !this.searchRequest_.isSame(text)) {
- this.searchRequest_ = new settings.SearchRequest(text);
+ this.searchRequest_ = new settings.SearchRequest(
+ text, document.createElement('div'));
this.searchRequest_.finished = true;
this.searchRequest_.updateMatches(false);

Powered by Google App Engine
This is Rietveld 408576698