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

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

Issue 2643533003: MD History: Use one-way binding for history query state. (Closed)
Patch Set: Remove wrapper function Created 3 years, 11 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_routing_test.js
diff --git a/chrome/test/data/webui/md_history/history_routing_test.js b/chrome/test/data/webui/md_history/history_routing_test.js
index ce40cf3bd885e644f1a60b3f36bb3f0ffce18e9a..b8f586758f19632aa4416441ca2780fb3c38c9ef 100644
--- a/chrome/test/data/webui/md_history/history_routing_test.js
+++ b/chrome/test/data/webui/md_history/history_routing_test.js
@@ -55,7 +55,7 @@ cr.define('md_history.history_routing_test', function() {
test('route updates from search', function() {
var searchTerm = 'McCree';
assertEquals('history', app.$.content.selected);
- app.set('queryState_.searchTerm', searchTerm);
+ app.fire('change-query', {search: searchTerm});
assertEquals('chrome://history/?q=' + searchTerm, window.location.href);
});
« no previous file with comments | « chrome/test/data/webui/md_history/history_metrics_test.js ('k') | chrome/test/data/webui/md_history/history_toolbar_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698