uiController.typeCharacterUsingHardwareKeyboard("leftArrow", ...) and similar invocations for other arrow keys inside a focused input field does cause DOM Keyup events to be dispatched.
(In reply to Daniel Bates from comment #0) > uiController.typeCharacterUsingHardwareKeyboard("leftArrow", ...) and > similar invocations for other arrow keys inside a focused input field does > cause DOM Keyup events to be dispatched. *does not cause DOM Keyup events to be dispatched.
Actually, I can reproduce this issue in Mobile Safari using focusing the text area on <https://unixpapa.com/js/testkey.html> and pressing the arrow keys on the keyboard. That is, no DOM events are dispatched. Therefore, this issue is not specific to test infrastructure.
Created attachment 349205 [details] Layout test
Using the attached layout test (attachment #349205 [details]) we only seem to dispatch a keyup and keydown for the arrow up key (why?). The test times out as a result of waiting for keyup and keydown events for other arrows keys.
<rdar://problem/44595087>
<rdar://problem/41108013>