Title: [123647] trunk/Tools
Revision
123647
Author
commit-qu...@webkit.org
Date
2012-07-25 13:05:05 -0700 (Wed, 25 Jul 2012)

Log Message

[EFL][WK2][WTR] Alt, Shift and Ctrl keys are not handled by EventSenderProxy.
https://bugs.webkit.org/show_bug.cgi?id=92241

Patch by Mikhail Pozdnyakov <mikhail.pozdnya...@intel.com> on 2012-07-25
Reviewed by Kenneth Rohde Christiansen.

Alt, Shift and Ctrl keys were not handled by EventSenderProxy.
It caused failure of fast/events/keydown-leftright-keys.html test.

* WebKitTestRunner/efl/EventSenderProxyEfl.cpp: Added handling of Alt, Shift and Ctrl keys.
(WTR::keyName):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (123646 => 123647)


--- trunk/Tools/ChangeLog	2012-07-25 19:52:49 UTC (rev 123646)
+++ trunk/Tools/ChangeLog	2012-07-25 20:05:05 UTC (rev 123647)
@@ -1,3 +1,16 @@
+2012-07-25  Mikhail Pozdnyakov  <mikhail.pozdnya...@intel.com>
+
+        [EFL][WK2][WTR] Alt, Shift and Ctrl keys are not handled by EventSenderProxy.
+        https://bugs.webkit.org/show_bug.cgi?id=92241
+
+        Reviewed by Kenneth Rohde Christiansen.
+
+        Alt, Shift and Ctrl keys were not handled by EventSenderProxy.
+        It caused failure of fast/events/keydown-leftright-keys.html test.
+
+        * WebKitTestRunner/efl/EventSenderProxyEfl.cpp: Added handling of Alt, Shift and Ctrl keys.
+        (WTR::keyName):
+
 2012-07-25  Christophe Dumez  <christophe.du...@intel.com>
 
         [EFL][WK2] Fix timeout issues when debugging WebProcess.

Modified: trunk/Tools/WebKitTestRunner/efl/EventSenderProxyEfl.cpp (123646 => 123647)


--- trunk/Tools/WebKitTestRunner/efl/EventSenderProxyEfl.cpp	2012-07-25 19:52:49 UTC (rev 123646)
+++ trunk/Tools/WebKitTestRunner/efl/EventSenderProxyEfl.cpp	2012-07-25 20:05:05 UTC (rev 123647)
@@ -231,6 +231,18 @@
         return adoptRef(new KeyEventInfo("Print", ""));
     if (WKStringIsEqualToUTF8CString(keyRef, "menu"))
         return adoptRef(new KeyEventInfo("Menu", ""));
+    if (WKStringIsEqualToUTF8CString(keyRef, "leftControl"))
+        return adoptRef(new KeyEventInfo("Control_L", ""));
+    if (WKStringIsEqualToUTF8CString(keyRef, "rightControl"))
+        return adoptRef(new KeyEventInfo("Control_R", ""));
+    if (WKStringIsEqualToUTF8CString(keyRef, "leftShift"))
+        return adoptRef(new KeyEventInfo("Shift_L", ""));
+    if (WKStringIsEqualToUTF8CString(keyRef, "rightShift"))
+        return adoptRef(new KeyEventInfo("Shift_R", ""));
+    if (WKStringIsEqualToUTF8CString(keyRef, "leftAlt"))
+        return adoptRef(new KeyEventInfo("Alt_L", ""));
+    if (WKStringIsEqualToUTF8CString(keyRef, "rightAlt"))
+        return adoptRef(new KeyEventInfo("Alt_R", ""));
     if (WKStringIsEqualToUTF8CString(keyRef, "F1"))
         return adoptRef(new KeyEventInfo("F1", ""));
     if (WKStringIsEqualToUTF8CString(keyRef, "F2"))
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to