Auto merge of #17578 - pyfisch:input-event, r=jdm

Implement the InputEvent

Add WebIDL, from UI Events working draft.
Implement script type for event.

Note that actually firing InputEvents is not part of this commit.

<!-- Please describe your changes on the following line: -->
As part of my effort to improve [keyboard handling](https://groups.google.com/forum/#!topic/mozilla.dev.servo/e6R7eBDjo4M) it is necessary to introduce the InputEvent. While I have a working prototype using the input event this still needs a lot of work  before it can be merged into servo.

cc @jdm

<!-- 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/17578)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2017-07-06 10:55:41 -07:00 committed by GitHub
commit f18782fb0e
6 changed files with 97 additions and 15 deletions

View file

@ -1,14 +0,0 @@
[inputevent-constructor.html]
type: testharness
[InputEvent constructor without InputEventInit.]
expected: FAIL
[InputEvent construtor with InputEventInit where data is null]
expected: FAIL
[InputEvent construtor with InputEventInit where data is empty string]
expected: FAIL
[InputEvent construtor with InputEventInit where data is non empty string]
expected: FAIL

View file

@ -26519,7 +26519,7 @@
"testharness"
],
"mozilla/interfaces.html": [
"49dd9f6ef449813f2ce943d4c9fac351357e5c74",
"ffdc606aaf989ef8bcdecef8cef8764bbb2ae1b2",
"testharness"
],
"mozilla/interfaces.js": [

View file

@ -140,6 +140,7 @@ test_interfaces([
"HTMLVideoElement",
"ImageData",
"Image",
"InputEvent",
"KeyboardEvent",
"Location",
"MediaError",