Changeset 123647 in webkit


Ignore:
Timestamp:
Jul 25, 2012 1:05:05 PM (12 years ago)
Author:
commit-queue@webkit.org
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.pozdnyakov@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):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r123643 r123647  
     12012-07-25  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
     2
     3        [EFL][WK2][WTR] Alt, Shift and Ctrl keys are not handled by EventSenderProxy.
     4        https://bugs.webkit.org/show_bug.cgi?id=92241
     5
     6        Reviewed by Kenneth Rohde Christiansen.
     7
     8        Alt, Shift and Ctrl keys were not handled by EventSenderProxy.
     9        It caused failure of fast/events/keydown-leftright-keys.html test.
     10
     11        * WebKitTestRunner/efl/EventSenderProxyEfl.cpp: Added handling of Alt, Shift and Ctrl keys.
     12        (WTR::keyName):
     13
    1142012-07-25  Christophe Dumez  <christophe.dumez@intel.com>
    215
  • trunk/Tools/WebKitTestRunner/efl/EventSenderProxyEfl.cpp

    r123599 r123647  
    232232    if (WKStringIsEqualToUTF8CString(keyRef, "menu"))
    233233        return adoptRef(new KeyEventInfo("Menu", ""));
     234    if (WKStringIsEqualToUTF8CString(keyRef, "leftControl"))
     235        return adoptRef(new KeyEventInfo("Control_L", ""));
     236    if (WKStringIsEqualToUTF8CString(keyRef, "rightControl"))
     237        return adoptRef(new KeyEventInfo("Control_R", ""));
     238    if (WKStringIsEqualToUTF8CString(keyRef, "leftShift"))
     239        return adoptRef(new KeyEventInfo("Shift_L", ""));
     240    if (WKStringIsEqualToUTF8CString(keyRef, "rightShift"))
     241        return adoptRef(new KeyEventInfo("Shift_R", ""));
     242    if (WKStringIsEqualToUTF8CString(keyRef, "leftAlt"))
     243        return adoptRef(new KeyEventInfo("Alt_L", ""));
     244    if (WKStringIsEqualToUTF8CString(keyRef, "rightAlt"))
     245        return adoptRef(new KeyEventInfo("Alt_R", ""));
    234246    if (WKStringIsEqualToUTF8CString(keyRef, "F1"))
    235247        return adoptRef(new KeyEventInfo("F1", ""));
Note: See TracChangeset for help on using the changeset viewer.