Index: modules/notifications/Notification.idl |
diff --git a/modules/notifications/Notification.idl b/modules/notifications/Notification.idl |
index 75a477996b41deeae351156c31ec6873c2fc5a6d..cbce5d6a627b6ff0793dedf3aa700d551d9f95ba 100644 |
--- a/modules/notifications/Notification.idl |
+++ b/modules/notifications/Notification.idl |
@@ -32,16 +32,16 @@ |
[ |
ActiveDOMObject, |
Constructor(DOMString title, [Default=Undefined] optional Dictionary options), |
- ConstructorCallWith=ScriptExecutionContext, |
- EnabledAtRuntime=notifications |
+ ConstructorCallWith=ExecutionContext, |
+ RuntimeEnabled=notifications |
] interface Notification : EventTarget { |
void show(); |
[Conditional=LEGACY_NOTIFICATIONS] void cancel(); |
void close(); |
- [CallWith=ScriptExecutionContext] static readonly attribute DOMString permission; |
- [CallWith=ScriptExecutionContext] static void requestPermission(optional NotificationPermissionCallback callback); |
+ [CallWith=ExecutionContext] static readonly attribute DOMString permission; |
+ [CallWith=ExecutionContext] static void requestPermission(optional NotificationPermissionCallback callback); |
attribute EventHandler onshow; |
[Conditional=LEGACY_NOTIFICATIONS] attribute EventHandler ondisplay; |