mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-04-03 13:02:57 +00:00
Bug 1058924 - Disable Notifications API in prerendering; r=jst
--HG-- extra : amend_source : 8282b07cecbefa2c76cebc6f7c1f28e324c6caa1
This commit is contained in:
parent
76b70c270f
commit
ccbe01c5cb
@ -12,7 +12,8 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
[Pref="dom.webnotifications.enabled",
|
[Pref="dom.webnotifications.enabled",
|
||||||
Constructor(DOMString title, optional NotificationOptions options)]
|
Constructor(DOMString title, optional NotificationOptions options),
|
||||||
|
UnsafeInPrerendering]
|
||||||
interface Notification : EventTarget {
|
interface Notification : EventTarget {
|
||||||
[GetterThrows]
|
[GetterThrows]
|
||||||
static readonly attribute NotificationPermission permission;
|
static readonly attribute NotificationPermission permission;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user