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

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

Issue 2224003003: Vulcanize MD History to improve page-load performance (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 4 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 | « chrome/browser/ui/webui/md_history_ui.cc ('k') | docs/vulcanize.md » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 5383fd1d824af25175838f5376508dd0f4a39c5f..50ecea196f3d3c62153155e39bdeeb7def48a5d6 100644
--- a/chrome/test/data/webui/md_history/history_toolbar_test.js
+++ b/chrome/test/data/webui/md_history/history_toolbar_test.js
@@ -66,8 +66,12 @@ cr.define('md_history.history_toolbar_test', function() {
assertFalse(field.showingSearch, 'Pressing escape closes field.');
assertNotEquals(field.$.searchInput, field.root.activeElement);
+ var modifier = 'ctrl';
+ if (cr.isMac)
+ modifier = 'meta';
+
MockInteractions.pressAndReleaseKeyOn(
- document.body, 70, 'ctrl', 'f');
+ document.body, 70, modifier, 'f');
assertTrue(field.showingSearch);
assertEquals(field.$.searchInput, field.root.activeElement);
});
« no previous file with comments | « chrome/browser/ui/webui/md_history_ui.cc ('k') | docs/vulcanize.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698