| Index: modules/notifications/Notification.idl
|
| diff --git a/modules/notifications/Notification.idl b/modules/notifications/Notification.idl
|
| index cbce5d6a627b6ff0793dedf3aa700d551d9f95ba..1ef74c48660d89a81d87dace6c82f693b33d4c1b 100644
|
| --- a/modules/notifications/Notification.idl
|
| +++ b/modules/notifications/Notification.idl
|
| @@ -33,23 +33,24 @@
|
| ActiveDOMObject,
|
| Constructor(DOMString title, [Default=Undefined] optional Dictionary options),
|
| ConstructorCallWith=ExecutionContext,
|
| - RuntimeEnabled=notifications
|
| + RuntimeEnabled=Notifications,
|
| ] interface Notification : EventTarget {
|
| - void show();
|
| - [Conditional=LEGACY_NOTIFICATIONS] void cancel();
|
| - void close();
|
| -
|
| -
|
| [CallWith=ExecutionContext] static readonly attribute DOMString permission;
|
| [CallWith=ExecutionContext] static void requestPermission(optional NotificationPermissionCallback callback);
|
|
|
| + // FIXME: Implement the Notification.get() method.
|
| +
|
| + attribute EventHandler 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;
|
| - attribute DOMString tag;
|
| + readonly attribute DOMString title;
|
| + readonly attribute DOMString dir;
|
| + readonly attribute DOMString lang;
|
| + readonly attribute DOMString body;
|
| + readonly attribute DOMString tag;
|
| + readonly attribute DOMString icon;
|
| +
|
| + void close();
|
| };
|
|
|