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

Unified Diff: chrome/test/data/keyevents_test.html

Issue 2059913002: Remove keyIdentifier usage in chrome/browser/resources/* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix chromeos build 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/keyevents_test.html
diff --git a/chrome/test/data/keyevents_test.html b/chrome/test/data/keyevents_test.html
index 88ba7a87de10a8717d2ad6eb460c3235173bf36a..1c5bc719db7f41758efcffaf463763ef1329729f 100644
--- a/chrome/test/data/keyevents_test.html
+++ b/chrome/test/data/keyevents_test.html
@@ -72,7 +72,7 @@ function handleEvent(e) {
// But Windows and Mac have opposite behavior than Linux.
// To make the C++ testing code simpler, if it's a modifier key event,
// then ignores the corresponding modifier attribute by setting it to true.
- var keyId = evt.keyIdentifier;
+ var keyId = evt.key;
result += (evt.keyCode + ' ' + evt.charCode + ' ' +
(keyId == 'Control' ? true : evt.ctrlKey) + ' ' +
(keyId == 'Shift' ? true : evt.shiftKey) + ' ' +
« no previous file with comments | « chrome/browser/ui/webui/options/edit_dictionary_browsertest.js ('k') | chrome/test/data/webui/link_controller_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698