mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-09 17:31:47 +09:00
Bug 1038811 - Push Notifications (observer)
This commit is contained in:
parent
c662424575
commit
5eda6e6b44
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue