Bug 189436 - [iOS] uiController.typeCharacterUsingHardwareKeyboard() for down arrow and right arrow does not dispatch DOM keydown events
Summary: [iOS] uiController.typeCharacterUsingHardwareKeyboard() for down arrow and ri...
Status: RESOLVED DUPLICATE of bug 189974
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL: https://unixpapa.com/js/testkey.html
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-07 15:10 PDT by Daniel Bates
Modified: 2018-09-25 14:07 PDT (History)
5 users (show)

See Also:


Attachments
Layout test (4.32 KB, patch)
2018-09-07 15:14 PDT, Daniel Bates
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Bates 2018-09-07 15:10:47 PDT
As can be seen by looking at LayoutTests/fast/events/ios/keydown-keyup-in-non-editable-content-expected.txt in attachment #349190 [details] (bug #189432), uiController.typeCharacterUsingHardwareKeyboard("downArrow",...)/uiController.typeCharacterUsingHardwareKeyboard("rightArrow",...) does not dispatch a DOM keydown event to a non-editable element. This does work in Mobile Safari. You can test this using <https://unixpapa.com/js/testkey.html>.
Comment 1 Daniel Bates 2018-09-07 15:14:17 PDT
Created attachment 349202 [details]
Layout test

Once the patch for bug #189389 the expected results in this patch will need to be updated. Note that we will see be missing DOM keydown events for down arrow and right arrow keys.
Comment 2 Daniel Bates 2018-09-25 14:07:19 PDT
I will fix this bug as part of the fix for bug #189974.

*** This bug has been marked as a duplicate of bug 189974 ***