Index: modules/notifications/ServiceWorkerGlobalScopeNotifications.idl |
diff --git a/modules/notifications/ServiceWorkerGlobalScopeNotifications.idl b/modules/notifications/ServiceWorkerGlobalScopeNotifications.idl |
index b2a61e5dbf84558ee4342060c0b1121f1476d710..45f2c54b541f486c68fadc3411c8623bb18d651f 100644 |
--- a/modules/notifications/ServiceWorkerGlobalScopeNotifications.idl |
+++ b/modules/notifications/ServiceWorkerGlobalScopeNotifications.idl |
@@ -5,8 +5,8 @@ |
// https://notifications.spec.whatwg.org/#service-worker-api |
[ |
- RuntimeEnabled=ServiceWorkerNotifications, |
+ RuntimeEnabled=Notifications, |
] partial interface ServiceWorkerGlobalScope { |
attribute EventHandler onnotificationclick; |
- attribute EventHandler onnotificationerror; |
+ attribute EventHandler onnotificationclose; |
}; |