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

Unified Diff: Source/modules/notifications/NotificationEvent.idl

Issue 780963004: Use event init dictionaries in modules/{notifications,push_messaging,serviceworkers} (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years 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: Source/modules/notifications/NotificationEvent.idl
diff --git a/Source/modules/notifications/NotificationEvent.idl b/Source/modules/notifications/NotificationEvent.idl
index 33903691ec6e13098ad5137358aa0973819dbff2..933b5e567e34a438d76f3fff2be67933028475a7 100644
--- a/Source/modules/notifications/NotificationEvent.idl
+++ b/Source/modules/notifications/NotificationEvent.idl
@@ -5,10 +5,10 @@
// https://notifications.spec.whatwg.org/#service-worker-api
[
- EventConstructor,
Exposed=ServiceWorker,
RuntimeEnabled=ServiceWorkerNotifications,
TypeChecking=Interface,
+ Constructor(DOMString type, optional NotificationEventInit eventInitDict),
Peter Beverloo 2014/12/05 15:48:33 nit: Many new IDL files are trying to keep the lis
bashi 2014/12/08 23:39:29 Ah, I didn't know that. Done. Thanks!
] interface NotificationEvent : ExtendableEvent {
readonly attribute Notification notification;
};

Powered by Google App Engine
This is Rietveld 408576698