diff options
Diffstat (limited to 'components/script/dom/webidls/CompositionEvent.webidl')
-rw-r--r-- | components/script/dom/webidls/CompositionEvent.webidl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/components/script/dom/webidls/CompositionEvent.webidl b/components/script/dom/webidls/CompositionEvent.webidl index 043873c9354..a16981e023f 100644 --- a/components/script/dom/webidls/CompositionEvent.webidl +++ b/components/script/dom/webidls/CompositionEvent.webidl @@ -8,8 +8,9 @@ */ // https://w3c.github.io/uievents/#idl-compositionevent -[Pref="dom.compositionevent.enabled", Constructor(DOMString type, optional CompositionEventInit eventInitDict = {})] +[Pref="dom.compositionevent.enabled"] interface CompositionEvent : UIEvent { + [Throws] constructor(DOMString type, optional CompositionEventInit eventInitDict = {}); readonly attribute DOMString data; }; |