diff options
Diffstat (limited to 'components/script/dom/webidls')
-rw-r--r-- | components/script/dom/webidls/PromiseRejectionEvent.webidl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/webidls/PromiseRejectionEvent.webidl b/components/script/dom/webidls/PromiseRejectionEvent.webidl index 6ef93b8b1a7..70d11b1ff33 100644 --- a/components/script/dom/webidls/PromiseRejectionEvent.webidl +++ b/components/script/dom/webidls/PromiseRejectionEvent.webidl @@ -6,12 +6,12 @@ [Exposed=(Window,Worker)] interface PromiseRejectionEvent : Event { - [Throws] constructor(DOMString type, optional PromiseRejectionEventInit eventInitDict = {}); + [Throws] constructor(DOMString type, PromiseRejectionEventInit eventInitDict); readonly attribute Promise<any> promise; readonly attribute any reason; }; dictionary PromiseRejectionEventInit : EventInit { - /* required */ Promise<any> promise; + required Promise<any> promise; any reason; }; |