Index: components/test_runner/event_sender.cc |
diff --git a/components/test_runner/event_sender.cc b/components/test_runner/event_sender.cc |
index 4c608b635543ec83057561f96d9d86cf9ca7c04e..e2db37e3378dc4ea9ca5d5528ec45ecabc688421 100644 |
--- a/components/test_runner/event_sender.cc |
+++ b/components/test_runner/event_sender.cc |
@@ -1565,6 +1565,10 @@ void EventSender::KeyDown(const std::string& code_str, |
code = ui::VKEY_ESCAPE; |
domKeyString.assign("Escape"); |
domCodeString.assign("Escape"); |
+ } else if ("Tab" == code_str) { |
+ code = ui::VKEY_TAB; |
+ domKeyString.assign("Tab"); |
+ domCodeString.assign("Tab"); |
} else { |
// Compare the input string with the function-key names defined by the |
// DOM spec (i.e. "F1",...,"F24"). If the input string is a function-key |