Auto merge of #22173 - pyfisch:webdriver-keys, r=paulrouget

Use keyboard-types::webdriver::send_keys

This improves the quality of KeyboardEvents sent by WebDriver. Now key, code, location and modifiers are set according to spec. CompositionEvents are discarded as servo does not handle them at all.

CompositionEvent support can be added later.

Is there a good way to automatically test this?

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22173)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2018-11-12 07:51:56 -05:00 committed by GitHub
commit b1a2b6b5bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 30 additions and 130 deletions

View file

@ -11,6 +11,6 @@ path = "lib.rs"
[dependencies]
euclid = "0.19"
keyboard-types = "0.4.2-servo"
keyboard-types = "0.4.3"
script = {path = "../../../components/script"}
servo_url = {path = "../../../components/url"}