-
eric@webkit.org authored
Reviewed by Xan Lopez. [GTK] GtkIMContext filtering interferes with DOM key events https://bugs.webkit.org/show_bug.cgi?id=28733 Add new key event test ensuring that IME keypresses are handled. * GNUmakefile.am: 2009-10-01 Martin Robinson <martin.james.robinson@gmail.com> Reviewed by Xan Lopez. [GTK] GtkIMContext filtering interferes with DOM key events https://bugs.webkit.org/show_bug.cgi?id=28733 Re-enable skipped tests which were previously failing. * platform/gtk/Skipped: 2009-10-01 Martin Robinson <martin.james.robinson@gmail.com> Reviewed by Xan Lopez. [GTK] GtkIMContext filtering interferes with DOM key events https://bugs.webkit.org/show_bug.cgi?id=28733 Ensure that keyboard events filtered by the GtkIMContext still create the proper DOM events. No tests added. Instead previously skipped tests have been enabled. * platform/gtk/KeyEventGtk.cpp: (WebCore::keyIdentifierForGdkKeyCode): (WebCore::singleCharacterString): 2009-10-01 Martin Robinson <martin.james.robinson@gmail.com> Reviewed by Xan Lopez. [GTK] GtkIMContext filtering interferes with DOM key events https://bugs.webkit.org/show_bug.cgi?id=28733 Ensure that keyboard events filtered by the GtkIMContext still create the proper DOM events. * WebCoreSupport/EditorClientGtk.cpp: (WebKit::clearPendingIMData): (WebKit::imContextCommitted): (WebKit::imContextPreeditChanged): (WebKit::EditorClient::shouldBeginEditing): (WebKit::EditorClient::shouldEndEditing): (WebKit::interpretEditorCommandKeyEvent): (WebKit::handleCaretBrowsingKeyboardEvent): (WebKit::EditorClient::handleKeyboardEvent): (WebKit::EditorClient::handleInputMethodKeydown): * tests/testkeyevents.c: Added. (test_info_new): (test_info_destroy): (key_event_fixture_setup): (key_event_fixture_teardown): (key_press_event_cb): (key_release_event_cb): (load_status_cb): (map_event_cb): (test_keypress): (main): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48964 268f45cc-cd09-0410-ab3c-d52691b4dbfc
4f864b9b