⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 280888 in webkit


Ignore:
Timestamp:
Aug 11, 2021, 12:46:55 AM (5 years ago)
Author:
Lauro Moura
Message:

[WPE] Handle escape key in wpeKeySymForKeyRef
https://bugs.webkit.org/show_bug.cgi?id=228981

Reviewed by Carlos Garcia Campos.

Some dialog tests were failing due to "escape" key ref being
translated to the 'e' keysym.

Covered by existing tests.

  • WebKitTestRunner/wpe/EventSenderProxyWPE.cpp:

(WTR::wpeKeySymForKeyRef):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r280882 r280888  
     12021-08-11  Lauro Moura  <lmoura@igalia.com>
     2
     3        [WPE] Handle escape key in wpeKeySymForKeyRef
     4        https://bugs.webkit.org/show_bug.cgi?id=228981
     5
     6        Reviewed by Carlos Garcia Campos.
     7
     8        Some dialog tests were failing due to "escape" key ref being
     9        translated to the 'e' keysym.
     10
     11        Covered by existing tests.
     12
     13        * WebKitTestRunner/wpe/EventSenderProxyWPE.cpp:
     14        (WTR::wpeKeySymForKeyRef):
     15
    1162021-08-10  Jonathan Bedard  <jbedard@apple.com>
    217
  • trunk/Tools/WebKitTestRunner/wpe/EventSenderProxyWPE.cpp

    r273760 r280888  
    291291    if (WKStringIsEqualToUTF8CString(keyRef, "F12"))
    292292        return WPE_KEY_F12;
     293    if (WKStringIsEqualToUTF8CString(keyRef, "escape"))
     294        return WPE_KEY_Escape;
    293295
    294296    size_t bufferSize = WKStringGetMaximumUTF8CStringSize(keyRef);
Note: See TracChangeset for help on using the changeset viewer.