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

Unified Diff: ui/file_manager/file_manager/background/js/test_util.js

Issue 1994563002: Remove the use of KeyEvent.keyIdentifier. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: ui/file_manager/file_manager/background/js/test_util.js
diff --git a/ui/file_manager/file_manager/background/js/test_util.js b/ui/file_manager/file_manager/background/js/test_util.js
index 12f882e370f4dea50700d2c72846a884de18b68c..aa2a5480056212b0fbc4baaa56d8d928f16309e0 100644
--- a/ui/file_manager/file_manager/background/js/test_util.js
+++ b/ui/file_manager/file_manager/background/js/test_util.js
@@ -187,7 +187,7 @@ test.util.sync.copyFile = function(contentWindow, filename) {
return false;
// Ctrl+C and Ctrl+V
test.util.sync.fakeKeyDown(
- contentWindow, '#file-list', 'w', 'U+0043', true, false, false);
+ contentWindow, '#file-list', 'c', 'U+0043', true, false, false);
oka 2016/06/09 13:32:31 Can you remove keyIdentifier from fakeKeyDown?
fukino 2016/06/09 13:47:50 As the cr.ui.Command still depends on keyIdentifie
test.util.sync.fakeKeyDown(
contentWindow, '#file-list', 'v', 'U+0056', true, false, false);
return true;

Powered by Google App Engine
This is Rietveld 408576698