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

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

Issue 2060023002: WebUI: cr-search-field: Remove delegation pattern, use simple event instead. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@search_box0
Patch Set: Address comments, fix compilation. Created 4 years, 6 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_toolbar_test.js
diff --git a/chrome/test/data/webui/md_history/history_toolbar_test.js b/chrome/test/data/webui/md_history/history_toolbar_test.js
index 9fc3232919d12d8a87c403c4801fc52d997aa341..bca5e84b9fec01f7b11ad65ccc0ffab7dbb8ccff 100644
--- a/chrome/test/data/webui/md_history/history_toolbar_test.js
+++ b/chrome/test/data/webui/md_history/history_toolbar_test.js
@@ -49,7 +49,7 @@ cr.define('md_history.history_toolbar_test', function() {
done();
});
- toolbar.onSearch('Test');
+ toolbar.$$('cr-toolbar').fire('search-changed', 'Test');
});
teardown(function() {

Powered by Google App Engine
This is Rietveld 408576698