Index: core/events/PromiseRejectionEvent.idl |
diff --git a/core/events/PromiseRejectionEvent.idl b/core/events/PromiseRejectionEvent.idl |
index 85ebeec12dedbaf42aff3a662f38ad05b5bcff75..6cb2adf74a4697312f9e10fa75203317bb1362b4 100644 |
--- a/core/events/PromiseRejectionEvent.idl |
+++ b/core/events/PromiseRejectionEvent.idl |
@@ -7,10 +7,10 @@ |
[ |
RuntimeEnabled=PromiseRejectionEvent, |
Custom=VisitDOMWrapper, |
- Constructor(DOMString type, optional PromiseRejectionEventInit eventInitDict), |
+ Constructor(DOMString type, PromiseRejectionEventInit eventInitDict), |
ConstructorCallWith=ScriptState, |
- Exposed=(Window,Worker,ServiceWorker), |
+ Exposed=(Window,Worker), |
] interface PromiseRejectionEvent : Event { |
- [Custom=Getter] readonly attribute Promise<any>? promise; |
+ [Custom=Getter] readonly attribute Promise<any> promise; |
[CallWith=ScriptState] readonly attribute any reason; |
}; |