summaryrefslogtreecommitdiffstats
path: root/application/palemoon/base/content/pageinfo/permissions.js
diff options
context:
space:
mode:
authorMoonchild <mcwerewolf@gmail.com>2018-05-06 20:44:37 +0200
committerGitHub <noreply@github.com>2018-05-06 20:44:37 +0200
commit61394bf4ff79650ee4b3f3951331c8a8775de6e3 (patch)
tree85111dd8e0b0d22377dc0f3eb18a672055c9dd11 /application/palemoon/base/content/pageinfo/permissions.js
parent1fbd4d95796ff084e84e4b9e32d1c23aa2672825 (diff)
parent79f8a278d95be21ce6f0999a304da5bdd9924dca (diff)
downloadUXP-61394bf4ff79650ee4b3f3951331c8a8775de6e3.tar
UXP-61394bf4ff79650ee4b3f3951331c8a8775de6e3.tar.gz
UXP-61394bf4ff79650ee4b3f3951331c8a8775de6e3.tar.lz
UXP-61394bf4ff79650ee4b3f3951331c8a8775de6e3.tar.xz
UXP-61394bf4ff79650ee4b3f3951331c8a8775de6e3.zip
Merge pull request #334 from JustOff/PR_fullscreen_warning
[PALEMOON] Replace the fullscreen permission dialog with a warning and update the permission management
Diffstat (limited to 'application/palemoon/base/content/pageinfo/permissions.js')
-rw-r--r--application/palemoon/base/content/pageinfo/permissions.js14
1 files changed, 0 insertions, 14 deletions
diff --git a/application/palemoon/base/content/pageinfo/permissions.js b/application/palemoon/base/content/pageinfo/permissions.js
index 68261ce6e..e0fb01f76 100644
--- a/application/palemoon/base/content/pageinfo/permissions.js
+++ b/application/palemoon/base/content/pageinfo/permissions.js
@@ -76,20 +76,6 @@ var gPermObj = {
{
return UNKNOWN;
},
- fullscreen: function getFullscreenDefaultPermissions()
- {
- if (!gPrefs.getBoolPref("full-screen-api.enabled")) {
- return DENY;
- }
- return UNKNOWN;
- },
- pointerLock: function getPointerLockPermissions()
- {
- if (!gPrefs.getBoolPref("full-screen-api.pointer-lock.enabled")) {
- return DENY;
- }
- return ALLOW;
- },
};
var permissionObserver = {