[Webkit-unassigned] [Bug 66679] New: [chromium] DRT on linux doesn't pass nativeKeyCode to plugins
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Aug 22 10:09:12 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=66679
Summary: [chromium] DRT on linux doesn't pass nativeKeyCode to
plugins
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Tools / Tests
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: tony at chromium.org
>From https://bugs.webkit.org/show_bug.cgi?id=65964#c4 :
> Do we know why we get an empty keycode with Chromium's DRT? It seems to be working for GTK+.
The GTK port creates an honest to goodness GdkEvent keypress event
http://trac.webkit.org/browser/trunk/Tools/DumpRenderTree/gtk/EventSender.cpp?rev=85516#L612
Chromium's DRT generates a WebKeyboardEvent, defined by the webkit api
http://trac.webkit.org/browser/trunk/Tools/DumpRenderTree/chromium/EventSender.cpp?rev=85516#L566
and fills in the WebKeyboardEvent.windowsKeyCode field, but not the nativeKeyCode field
http://trac.webkit.org/browser/trunk/WebKit/chromium/public/WebInputEvent.h?rev=50721#L153
The plugin is sent the nativeKeyCode value. That works in the real browser case, but not with
the Chromium DRT. Is there a table somewhere that maps webkit::VKEY_CODE to native key codes?
--
I don't think a table like this exists, but adding one for DRT would be fine.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list