mirror of
https://github.com/servo/servo.git
synced 2025-08-08 06:55:31 +01:00
Require PromiseRejectionEventInit dictionary
This commit is contained in:
parent
47e39af0f3
commit
22278a8895
5 changed files with 12 additions and 26 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue