Bug 87219 - New fast/events/keydown-leftright-keys.html fails on Qt, GTK
Summary: New fast/events/keydown-leftright-keys.html fails on Qt, GTK
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: LayoutTestFailure, Qt, QtTriaged
Depends on:
Blocks: 86694 87008
  Show dependency treegraph
 
Reported: 2012-05-22 23:55 PDT by Csaba Osztrogonác
Modified: 2012-05-23 00:16 PDT (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Csaba Osztrogonác 2012-05-22 23:55:47 PDT
fast/events/keydown-leftright-keys.html introduced in http://trac.webkit.org/changeset/118001
and fails on GTK and on Qt:


--- /ramdisk/qt-linux-64-release/build/layout-test-results/fast/events/keydown-leftright-keys-expected.txt 
+++ /ramdisk/qt-linux-64-release/build/layout-test-results/fast/events/keydown-leftright-keys-actual.txt 
@@ -5,23 +5,23 @@
 
 
 PASS lastKeyboardEvent.type is "keydown"
-PASS lastKeyboardEvent.keyCode is 16
-PASS lastKeyboardEvent.keyLocation is KEY_LOCATION_LEFT
+FAIL lastKeyboardEvent.keyCode should be 16. Was 0.
+FAIL lastKeyboardEvent.keyLocation should be 1. Was 0.
 PASS lastKeyboardEvent.type is "keydown"
-PASS lastKeyboardEvent.keyCode is 17
-PASS lastKeyboardEvent.keyLocation is KEY_LOCATION_LEFT
+FAIL lastKeyboardEvent.keyCode should be 17. Was 0.
+FAIL lastKeyboardEvent.keyLocation should be 1. Was 0.
 PASS lastKeyboardEvent.type is "keydown"
-PASS lastKeyboardEvent.keyCode is 18
-PASS lastKeyboardEvent.keyLocation is KEY_LOCATION_LEFT
+FAIL lastKeyboardEvent.keyCode should be 18. Was 0.
+FAIL lastKeyboardEvent.keyLocation should be 1. Was 0.
 PASS lastKeyboardEvent.type is "keydown"
-PASS lastKeyboardEvent.keyCode is 16
-PASS lastKeyboardEvent.keyLocation is KEY_LOCATION_RIGHT
+FAIL lastKeyboardEvent.keyCode should be 16. Was 0.
+FAIL lastKeyboardEvent.keyLocation should be 2. Was 0.
 PASS lastKeyboardEvent.type is "keydown"
-PASS lastKeyboardEvent.keyCode is 17
-PASS lastKeyboardEvent.keyLocation is KEY_LOCATION_RIGHT
+FAIL lastKeyboardEvent.keyCode should be 17. Was 0.
+FAIL lastKeyboardEvent.keyLocation should be 2. Was 0.
 PASS lastKeyboardEvent.type is "keydown"
-PASS lastKeyboardEvent.keyCode is 18
-PASS lastKeyboardEvent.keyLocation is KEY_LOCATION_RIGHT
+FAIL lastKeyboardEvent.keyCode should be 18. Was 0.
+FAIL lastKeyboardEvent.keyLocation should be 2. Was 0.
 PASS successfullyParsed is true
 
 TEST COMPLETE
Comment 1 Csaba Osztrogonác 2012-05-22 23:58:51 PDT
I skipped it on Qt - r118132
Comment 2 Zan Dobersek 2012-05-23 00:16:56 PDT
This test fails because EventSender requires an update after r118001. Gtk bug for this is bug #87221.