From be5820ecd36650bff4728208629553931fd42ec2 Mon Sep 17 00:00:00 2001 From: Chong Zhang Date: Thu, 15 Dec 2016 16:28:46 -0500 Subject: [PATCH] Add IDL test for partial InputEvent --- input-events/idlharness.html | 38 ++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 input-events/idlharness.html diff --git a/input-events/idlharness.html b/input-events/idlharness.html new file mode 100644 index 00000000000000..54ca46eb92f634 --- /dev/null +++ b/input-events/idlharness.html @@ -0,0 +1,38 @@ +Input Event IDL tests + + + + + + +
+interface InputEvent {
+};
+
+ +
+partial interface InputEvent {
+    readonly attribute DOMString     inputType;
+    readonly attribute DataTransfer? dataTransfer;
+    sequence getTargetRanges();
+};
+
+partial dictionary InputEventInit {
+    DOMString             inputType = "";
+    DataTransfer?         dataTransfer = null;
+    sequence targetRanges = [];
+};
+
+ +