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

Unified Diff: chrome/test/data/webui/md_history/history_list_test.js

Issue 2068613002: [MD History] Add URL parameter for search. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@routing
Patch Set: remove_var Created 4 years, 5 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/md_history/history_list_test.js
diff --git a/chrome/test/data/webui/md_history/history_list_test.js b/chrome/test/data/webui/md_history/history_list_test.js
index 0ccad6a453a07b595909a15ac7015bf958680251..a5ad099162fe102478e5b0b0456526b94ca2767c 100644
--- a/chrome/test/data/webui/md_history/history_list_test.js
+++ b/chrome/test/data/webui/md_history/history_list_test.js
@@ -233,8 +233,11 @@ cr.define('md_history.history_list_test', function() {
teardown(function() {
element.historyData_ = [];
- element.searchedTerm = '';
registerMessageCallback('removeVisits', this, undefined);
+ registerMessageCallback('queryHistory', this, undefined);
+ app.queryState_.queryingDisabled = true;
+ app.set('queryState_.searchTerm', '');
+ return flush();
});
});
}

Powered by Google App Engine
This is Rietveld 408576698