Bug 1058924 - Disable Notifications API in prerendering; r=jst

--HG--
extra : amend_source : 8282b07cecbefa2c76cebc6f7c1f28e324c6caa1
This commit is contained in:
Roshan Vidyashankar 2014-12-21 12:02:33 -05:00
parent 76b70c270f
commit ccbe01c5cb

View File

@ -12,7 +12,8 @@
*/
[Pref="dom.webnotifications.enabled",
Constructor(DOMString title, optional NotificationOptions options)]
Constructor(DOMString title, optional NotificationOptions options),
UnsafeInPrerendering]
interface Notification : EventTarget {
[GetterThrows]
static readonly attribute NotificationPermission permission;