Index: third_party/WebKit/Source/core/events/PromiseRejectionEvent.idl |
diff --git a/third_party/WebKit/Source/core/events/PromiseRejectionEvent.idl b/third_party/WebKit/Source/core/events/PromiseRejectionEvent.idl |
index 85ebeec12dedbaf42aff3a662f38ad05b5bcff75..f7e6ed864eef43eba86d2bb9269d949e1576113f 100644 |
--- a/third_party/WebKit/Source/core/events/PromiseRejectionEvent.idl |
+++ b/third_party/WebKit/Source/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), |
] interface PromiseRejectionEvent : Event { |
- [Custom=Getter] readonly attribute Promise<any>? promise; |
+ [Custom=Getter] readonly attribute Promise<any> promise; |
[CallWith=ScriptState] readonly attribute any reason; |
}; |