[Webkit-unassigned] [Bug 148963] Implement EventSenderProxy for WebKitTestRunner on iOS

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 11 16:31:06 PDT 2015


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

--- Comment #13 from Wenson Hsieh <wenson_hsieh at apple.com> ---
The latest patches addresses the above problem. As long as eventSender is used after the body loads (which it should be for these tests), no more flakiness is observed. To do this, I block the web process from immediately synchronously messaging the UI process in EventSendingController until the web process has received a 'DidUpdate' message from the UI process' drawing area proxy indicating that it is safe to force a compositing layer flush right away. This allows us to start sending touch events in the onload handler of the body element rather than calling eventSender through a setTimeout.

Other outstanding issues:
- EventSender is currently unable to type more than a couple characters before text input starts becoming flaky.
- The testing harness occasionally crashes in Springboard while running the tests, but I'm not currently sure if that's due to my patch or if it's a preexisting issue.
- Still need to find a way to correctly map document coords to screen coords so that we can send touch events when the document is zoomed.
- Clean up the key window context ID hack in EventSenderProxy::sendIOHIDEvent which I'm using to make touch events hit-test successfully in UIKit. Namely, figure out why the application's key window appears to be nil when I try to access it.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150911/7128fea0/attachment.html>


More information about the webkit-unassigned mailing list