Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(319)

Unified Diff: third_party/WebKit/Source/core/events/PromiseRejectionEvent.idl

Issue 1471283002: Update PromiseRejectionEvent IDL to match latest spec (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
};

Powered by Google App Engine
This is Rietveld 408576698