diff options
Diffstat (limited to 'components/script/dom/webidls/ErrorEvent.webidl')
-rw-r--r-- | components/script/dom/webidls/ErrorEvent.webidl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/components/script/dom/webidls/ErrorEvent.webidl b/components/script/dom/webidls/ErrorEvent.webidl index 165fbd35110..6f0782f4653 100644 --- a/components/script/dom/webidls/ErrorEvent.webidl +++ b/components/script/dom/webidls/ErrorEvent.webidl @@ -4,8 +4,9 @@ // https://html.spec.whatwg.org/multipage/#the-errorevent-interface -[Constructor(DOMString type, optional ErrorEventInit eventInitDict = {}), Exposed=(Window,Worker)] +[Exposed=(Window,Worker)] interface ErrorEvent : Event { + [Throws] constructor(DOMString type, optional ErrorEventInit eventInitDict = {}); readonly attribute DOMString message; readonly attribute DOMString filename; readonly attribute unsigned long lineno; |