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

Changeset 183995 in webkit


Ignore:
Timestamp:
May 8, 2015, 9:09:42 AM (11 years ago)
Author:
Carlos Garcia Campos
Message:

[GTK] WTR doesn't correctly handle the Escape key
https://bugs.webkit.org/show_bug.cgi?id=144788

Reviewed by Martin Robinson.

Tools:

Correctly handle 0x001B character code in GTK+ event sender to be
recognized as Escape key, because gdk_unicode_to_keyval() doesn't
handle it. This fixes layout tests using keyDown(String.fromCharCode(0x001B), null);
to dismiss popup menus.

Fixes editing/selection/5354455-1.html.

  • WebKitTestRunner/gtk/EventSenderProxyGtk.cpp:

(WTR::getGDKKeySymForKeyRef):

LayoutTests:

Unskip editing/selection/5354455-1.html.

  • platform/gtk/TestExpectations:
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r183994 r183995  
     12015-05-08  Carlos Garcia Campos  <cgarcia@igalia.com>
     2
     3        [GTK] WTR doesn't correctly handle the Escape key
     4        https://bugs.webkit.org/show_bug.cgi?id=144788
     5
     6        Reviewed by Martin Robinson.
     7
     8        Unskip editing/selection/5354455-1.html.
     9
     10        * platform/gtk/TestExpectations:
     11
    1122015-05-08  Hyungwook Lee  <hyungwook.lee@navercorp.com>
    213
  • trunk/LayoutTests/platform/gtk/TestExpectations

    r183982 r183995  
    14441444
    14451445# WebKit2 needs testRunner.setEditingBehaviour and other issues.
    1446 webkit.org/b/40601 editing/selection/5354455-1.html [ Failure ]
    14471446Bug(GTK) editing/selection/extend-after-mouse-selection.html [ Failure ]
    14481447
  • trunk/Tools/ChangeLog

    r183992 r183995  
     12015-05-08  Carlos Garcia Campos  <cgarcia@igalia.com>
     2
     3        [GTK] WTR doesn't correctly handle the Escape key
     4        https://bugs.webkit.org/show_bug.cgi?id=144788
     5
     6        Reviewed by Martin Robinson.
     7
     8        Correctly handle 0x001B character code in GTK+ event sender to be
     9        recognized as Escape key, because gdk_unicode_to_keyval() doesn't
     10        handle it. This fixes layout tests using keyDown(String.fromCharCode(0x001B), null);
     11        to dismiss popup menus.
     12
     13        Fixes editing/selection/5354455-1.html.
     14
     15        * WebKitTestRunner/gtk/EventSenderProxyGtk.cpp:
     16        (WTR::getGDKKeySymForKeyRef):
     17
    1182015-05-08  Carlos Garcia Campos  <cgarcia@igalia.com>
    219
  • trunk/Tools/WebKitTestRunner/gtk/EventSenderProxyGtk.cpp

    r165676 r183995  
    278278    if (charCode == '\x8')
    279279        return GDK_KEY_BackSpace;
     280    if (charCode == 0x001B)
     281        return GDK_KEY_Escape;
    280282
    281283    if (WTF::isASCIIUpper(charCode))
Note: See TracChangeset for help on using the changeset viewer.