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

Unified Diff: content/shell/renderer/test_runner/event_sender.cc

Issue 649343002: event_sender: Keep keyIdentifier in keypress event for Enter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/renderer/test_runner/event_sender.cc
diff --git a/content/shell/renderer/test_runner/event_sender.cc b/content/shell/renderer/test_runner/event_sender.cc
index 7a2b07f17e77c4feadaa9473187deccdc414f017..e89549202f560d90e8714107adae022a930e5ac0 100644
--- a/content/shell/renderer/test_runner/event_sender.cc
+++ b/content/shell/renderer/test_runner/event_sender.cc
@@ -1365,7 +1365,6 @@ void EventSender::KeyDown(const std::string& code_str,
if (generate_char) {
WebKeyboardEvent event_char = event_up;
event_char.type = WebInputEvent::Char;
- event_char.keyIdentifier[0] = '\0';
jbroman 2014/10/14 17:53:56 Are char events supposed to have key identifiers?
jbroman 2014/10/14 18:03:46 This seems to have been intentionally added in: ht
robwu 2014/10/14 20:08:13 I tested every key on my keyboard (US keyboard, Li
view_->handleInputEvent(event_char);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698