summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-26 06:19:39 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-26 06:19:39 +0200
commit62779a4b8dc7ddd4ba406bd0245ae6f7386b2f2f (patch)
treef4252badd8d53730d40580836ab28f23acd8f0a7
parent43caa48ecba88a60b7b0b84d19d928ada8b22b09 (diff)
downloadUXP-62779a4b8dc7ddd4ba406bd0245ae6f7386b2f2f.tar
UXP-62779a4b8dc7ddd4ba406bd0245ae6f7386b2f2f.tar.gz
UXP-62779a4b8dc7ddd4ba406bd0245ae6f7386b2f2f.tar.lz
UXP-62779a4b8dc7ddd4ba406bd0245ae6f7386b2f2f.tar.xz
UXP-62779a4b8dc7ddd4ba406bd0245ae6f7386b2f2f.zip
Bug 1038811 - Push Notifications (observer)
-rw-r--r--application/palemoon/components/preferences/aboutPermissions.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/application/palemoon/components/preferences/aboutPermissions.js b/application/palemoon/components/preferences/aboutPermissions.js
index 0c3f8b823..73d51909b 100644
--- a/application/palemoon/components/preferences/aboutPermissions.js
+++ b/application/palemoon/components/preferences/aboutPermissions.js
@@ -552,6 +552,7 @@ var AboutPermissions = {
Services.prefs.addObserver("dom.webnotifications.enabled", this, false);
Services.prefs.addObserver("xpinstall.whitelist.required", this, false);
Services.prefs.addObserver("geo.enabled", this, false);
+ Services.prefs.addObserver("dom.push.enabled", this, false);
Services.prefs.addObserver("dom.indexedDB.enabled", this, false);
Services.prefs.addObserver("plugins.click_to_play", this, false);
Services.prefs.addObserver("full-screen-api.enabled", this, false);
@@ -705,6 +706,7 @@ var AboutPermissions = {
Services.prefs.removeObserver("dom.webnotifications.enabled", this, false);
Services.prefs.removeObserver("xpinstall.whitelist.required", this, false);
Services.prefs.removeObserver("geo.enabled", this, false);
+ Services.prefs.removeObserver("dom.push.enabled", this, false);
Services.prefs.removeObserver("dom.indexedDB.enabled", this, false);
Services.prefs.removeObserver("plugins.click_to_play", this, false);
Services.prefs.removeObserver("full-screen-api.enabled", this, false);