| Summary: | Web Inspector: add Input domain for emitting keyboard and mouse events | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Niek <mail> |
| Component: | Web Inspector | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW --- | ||
| Severity: | Normal | CC: | bburg, gsnedders, hi, inspector-bugzilla-changes, smoley, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | All | ||
| OS: | All | ||
|
Description
Niek
2021-04-02 02:40:32 PDT
> at some point it seem to be removed again see bug 131073 Thanks for providing the reference. I don't really understand the reasoning to remove it though: "It is for a Chrome feature (device screen sharing) we don't have.". The Input domain is very useful for debugging and automation, right now there's no way to fire mouse or keyboard events using the debugging protocol, that's a severe limitation. I'd be more than happy to prepare a patch to add it again, in case you're open to re-add it of course. (In reply to Niek from comment #3) > Thanks for providing the reference. I don't really understand the reasoning > to remove it though: "It is for a Chrome feature (device screen sharing) we > don't have.". > > The Input domain is very useful for debugging and automation, right now > there's no way to fire mouse or keyboard events using the debugging > protocol, that's a severe limitation. I'd be more than happy to prepare a > patch to add it again, in case you're open to re-add it of course. Generally speaking, we remove code that has no ship plan and no test coverage, such as post-fork Chrome features in Web Inspector Protocol. How do you plan to write tests for the functionality of Input domain? I didn't see a single test in the diff that you linked–hopefully this is just an oversight. The linked patch is not meant to be merged as-is, I can add tests for the functionality - no problem. But before I start work on this I want to be sure it's something you are willing to merge upstream. In my opinion the Input domain is not just a "post-fork Chrome feature", it's an essential feature of any remote debugging implementation. |