Add support for uiController.typeCharacterUsingHardwareKeyboard() on Mac and use it to improve an existing test.
Created attachment 293857 [details] Patch
Created attachment 293858 [details] WIP patch Attaching something I hacked up a while back. I forget the state of it though.
Comment on attachment 293857 [details] Patch Attachment 293857 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: http://webkit-queues.webkit.org/results/2459581 New failing tests: fast/forms/validation-messages.html
Created attachment 293869 [details] Archive of layout-test-results from ews123 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews123 Port: ios-simulator-wk2 Platform: Mac OS X 10.11.6
(In reply to comment #3) > Comment on attachment 293857 [details] > Patch > > Attachment 293857 [details] did not pass ios-sim-ews (ios-simulator-wk2): > Output: http://webkit-queues.webkit.org/results/2459581 > > New failing tests: > fast/forms/validation-messages.html For some reason, typeCharacterUsingHardwareKeyboard() seems to fail to type letter 'a' in the field on iOS. Works on Mac though.
I think you need to tap the input field in order for typeCharacterUsingHardwareKeyboard to work on WK2 iOS.
(In reply to comment #6) > I think you need to tap the input field in order for > typeCharacterUsingHardwareKeyboard to work on WK2 iOS. Ok, so using typeCharacterUsingHardwareKeyboard() is not really helping me make my test cross platform (Mac and iOS) :/