Index: Source/testing/runner/EventSender.cpp |
diff --git a/Source/testing/runner/EventSender.cpp b/Source/testing/runner/EventSender.cpp |
index 2b1754b1f8a8faf77ba49c24fc2a1a96303c46fc..c460c769e713639d259c2b2760a2c34fbd2cb84e 100644 |
--- a/Source/testing/runner/EventSender.cpp |
+++ b/Source/testing/runner/EventSender.cpp |
@@ -602,6 +602,8 @@ void EventSender::keyDown(const CppArgumentList& arguments, CppVariant* result) |
code = VKEY_LMENU; |
else if ("rightAlt" == codeStr) |
code = VKEY_RMENU; |
+ else if ("numLock" == codeStr) |
+ code = VKEY_NUMLOCK; |
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 |