[Qt] Handle Return key without key text
authorallan.jensen@digia.com <allan.jensen@digia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 5 Jun 2013 11:55:52 +0000 (11:55 +0000)
committerallan.jensen@digia.com <allan.jensen@digia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 5 Jun 2013 11:55:52 +0000 (11:55 +0000)
commitfd0226c95aadfc0ccabe53db7b71dc3fcf85e342
tree719d682b6a13822c90b05b1893f5c005b2d354a7
parent0d4c1c0b95ca43dc9c39a95a835aa40fc29a7d52
[Qt] Handle Return key without key text
https://bugs.webkit.org/show_bug.cgi?id=117239

Reviewed by Andreas Kling.

Source/WebCore:

Test added to tst_qwebpage.cpp.

* platform/qt/PlatformKeyboardEventQt.cpp:
(WebCore::keyTextForKeyEvent):

Source/WebKit/qt:

Test for QKeyEvent(Return_Key) without key text.

* tests/qwebpage/tst_qwebpage.cpp:
(tst_QWebPage::inputMethods):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@151213 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/qt/PlatformKeyboardEventQt.cpp
Source/WebKit/qt/ChangeLog
Source/WebKit/qt/tests/qwebpage/tst_qwebpage.cpp