Index: modules/notifications/Notification.idl |
diff --git a/modules/notifications/Notification.idl b/modules/notifications/Notification.idl |
index a8dd30a673384c4780d1af2142a6cc946808784f..24d25cc889d8e489c7ff2f4af86f87bc7a6b1995 100644 |
--- a/modules/notifications/Notification.idl |
+++ b/modules/notifications/Notification.idl |
@@ -43,11 +43,11 @@ |
[CallWith=ScriptExecutionContext, Conditional=NOTIFICATIONS] static readonly attribute DOMString permission; |
[CallWith=ScriptExecutionContext, Conditional=NOTIFICATIONS] static void requestPermission(optional NotificationPermissionCallback callback); |
- attribute EventListener onshow; |
- [Conditional=LEGACY_NOTIFICATIONS] attribute EventListener ondisplay; |
- attribute EventListener onerror; |
- attribute EventListener onclose; |
- attribute EventListener onclick; |
+ attribute EventHandler onshow; |
+ [Conditional=LEGACY_NOTIFICATIONS] attribute EventHandler ondisplay; |
+ attribute EventHandler onerror; |
+ attribute EventHandler onclose; |
+ attribute EventHandler onclick; |
[Conditional=LEGACY_NOTIFICATIONS] attribute DOMString dir; |
[Conditional=LEGACY_NOTIFICATIONS] attribute DOMString replaceId; |