aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/InputEvent.webidl
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/webidls/InputEvent.webidl')
-rw-r--r--components/script/dom/webidls/InputEvent.webidl2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/webidls/InputEvent.webidl b/components/script/dom/webidls/InputEvent.webidl
index 49fb9dc9695..710f95d511e 100644
--- a/components/script/dom/webidls/InputEvent.webidl
+++ b/components/script/dom/webidls/InputEvent.webidl
@@ -8,8 +8,8 @@
*/
// https://w3c.github.io/uievents/#idl-inputevent
-[Constructor(DOMString type, optional InputEventInit eventInitDict = {})]
interface InputEvent : UIEvent {
+ [Throws] constructor(DOMString type, optional InputEventInit eventInitDict = {});
readonly attribute DOMString? data;
readonly attribute boolean isComposing;
};