[Webkit-unassigned] [Bug 28247] [Chromium] Numpad keys and a manu key don't work in render view

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 16 17:49:40 PST 2009


https://bugs.webkit.org/show_bug.cgi?id=28247





--- Comment #5 from Hironori Bono <hbono at chromium.org>  2009-12-16 17:49:40 PST ---
(In reply to comment #4)

> was there no way to use the eventSender to write an automated layout test?

Sorry for the lack of detailed explanation about this issue.
As you know, when we call eventSender.keyDown("0", modifiers), eventSender
sends a key event for VKEY_0, not VKEY_NUMPAD_0.
To be able to send a numpad-key event through an eventSender.keyDown() call, I
would like to add another parameter "location" to EventSendingController.mm
(and also our event_sending_controller.cc). This new "location" parameter is
the same as the "locationArg" parameter of initKeyboardEvent() and declares the
key location code introduced in the "DOM 3 Event" specification (*1). The
possible values for the parameters are listed below. This is WebKit Bug 32602
(*2).

  DOM_KEY_LOCATION_STANDARD      = 0x00;
  DOM_KEY_LOCATION_LEFT          = 0x01;
  DOM_KEY_LOCATION_RIGHT         = 0x02;
  DOM_KEY_LOCATION_NUMPAD        = 0x03;
  DOM_KEY_LOCATION_MOBILE        = 0x04;
  DOM_KEY_LOCATION_JOYSTICK      = 0x05;

Unfortunately, I have been busy these days and cannot afford to work for this
Bug 32602 now. After a talk with estade about this issue, I decided to let
Kinuko-san land this fix with a manual test before my change for WebKit Bug
32602, and land another change for WebKit Bug 32602 to replace the manual test
with an automated layout test.

(*1) <http://www.w3.org/TR/DOM-Level-3-Events/>
(*2) <https://bugs.webkit.org/show_bug.cgi?id=32602>

Regards,

Hironori Bono

-- 
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