Bug 189436

Summary: [iOS] uiController.typeCharacterUsingHardwareKeyboard() for down arrow and right arrow does not dispatch DOM keydown events
Product: WebKit Reporter: Daniel Bates <dbates>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Severity: Normal CC: ap, lforschler, megan_gardner, simon.fraser, wenson_hsieh
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
URL: https://unixpapa.com/js/testkey.html
See Also: https://bugs.webkit.org/show_bug.cgi?id=189325
Description Flags
Layout test none

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