WebKitTools:
[WebKit-https.git] / WebKitTools / DumpRenderTree / win / EventSender.cpp
index 7fec10a..0e71c80 100644 (file)
@@ -310,6 +310,10 @@ static JSValueRef keyDownCallback(JSContextRef context, JSObjectRef function, JS
         virtualKeyCode = VK_PRIOR;
     else if (JSStringIsEqualToUTF8CString(character, "pageDown"))
         virtualKeyCode = VK_NEXT;
+    else if (JSStringIsEqualToUTF8CString(character, "home"))
+        virtualKeyCode = VK_HOME;
+    else if (JSStringIsEqualToUTF8CString(character, "end"))
+        virtualKeyCode = VK_END;
     else if (JSStringIsEqualToUTF8CString(character, "delete"))
         virtualKeyCode = VK_BACK;
     else {