servo/tests/unit
bors-servo b1a2b6b5bf
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 -->
2018-11-12 07:51:56 -05:00
..
deny_public_fields Switch most crates to the 2018 edition 2018-11-06 16:12:04 +01:00
malloc_size_of Fix test-tidy self test 2018-11-07 09:37:55 +01:00
metrics Remove useless use crate_name; imports. 2018-11-08 09:29:52 +01:00
profile cargo fix --edition-idioms 2018-11-08 09:28:00 +01:00
script Use keyboard-types::webdriver::send_keys 2018-11-11 21:57:45 +01:00
script_plugins Fix test-tidy self test 2018-11-07 09:37:55 +01:00
style cargo fix --edition 2018-11-10 17:47:28 +01:00