Index: modules/notifications/NotificationEvent.idl |
diff --git a/modules/notifications/NotificationEvent.idl b/modules/notifications/NotificationEvent.idl |
index 89bc93f185a7b4ceacf3f594360597da1ef8e5c8..426177773d52febd117c523342f7686bdbd69717 100644 |
--- a/modules/notifications/NotificationEvent.idl |
+++ b/modules/notifications/NotificationEvent.idl |
@@ -5,10 +5,10 @@ |
// https://notifications.spec.whatwg.org/#service-worker-api |
[ |
- Constructor(DOMString type, optional NotificationEventInit eventInitDict), |
+ Constructor(DOMString type, NotificationEventInit eventInitDict), |
Exposed=ServiceWorker, |
- RuntimeEnabled=ServiceWorkerNotifications, |
- TypeChecking=Interface, |
+ RuntimeEnabled=Notifications, |
] interface NotificationEvent : ExtendableEvent { |
readonly attribute Notification notification; |
+ readonly attribute DOMString action; |
}; |