mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Require default dictionary value for optional dicts
This commit is contained in:
parent
56f31c85ef
commit
01151274f1
71 changed files with 105 additions and 98 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
// https://html.spec.whatwg.org/multipage/#the-promiserejectionevent-interface
|
||||
|
||||
[Constructor(DOMString type, optional PromiseRejectionEventInit eventInitDict), Exposed=(Window,Worker)]
|
||||
[Constructor(DOMString type, optional PromiseRejectionEventInit eventInitDict = {}), Exposed=(Window,Worker)]
|
||||
interface PromiseRejectionEvent : Event {
|
||||
readonly attribute Promise<any> promise;
|
||||
readonly attribute any reason;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue