Bug 220074
Summary: | [iOS] add a way to simulate mouse interactions for LayoutTests | ||
---|---|---|---|
Product: | WebKit | Reporter: | Devin Rousso <hi> |
Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | ap, jbedard, thorton, webkit-bug-importer, wenson_hsieh |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=220072 |
Devin Rousso
something similar to `UIController.prototype.singleTapAtPointWithModifiers` or maybe something on `EventSender
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/72710881>
Tim Horton
(In an ideal world, we’d just make eventSender mouseDown/up/etc. work on iOS, I think.)
Wenson Hsieh
(In reply to Tim Horton from comment #2)
> (In an ideal world, we’d just make eventSender mouseDown/up/etc. work on
> iOS, I think.)
This has the advantage of allowing us to make existing tests work, but I think in the longer term, UIScriptController offers more flexibility due to its non-blocking nature.
I think what we could do to get the best of both worlds is implement async helpers on UIScriptController, and then implement the synchronous EventSender functionality for iOS on top of the async version.