summaryrefslogtreecommitdiffstats
path: root/application/palemoon/base/content/pageinfo/permissions.js
diff options
context:
space:
mode:
authorJustOff <Off.Just.Off@gmail.com>2018-05-06 14:48:52 +0300
committerJustOff <Off.Just.Off@gmail.com>2018-05-06 14:48:52 +0300
commit79f8a278d95be21ce6f0999a304da5bdd9924dca (patch)
tree85111dd8e0b0d22377dc0f3eb18a672055c9dd11 /application/palemoon/base/content/pageinfo/permissions.js
parent5839168a9f01111c5cf4eef3effa79c8b2d4bb95 (diff)
downloadUXP-79f8a278d95be21ce6f0999a304da5bdd9924dca.tar
UXP-79f8a278d95be21ce6f0999a304da5bdd9924dca.tar.gz
UXP-79f8a278d95be21ce6f0999a304da5bdd9924dca.tar.lz
UXP-79f8a278d95be21ce6f0999a304da5bdd9924dca.tar.xz
UXP-79f8a278d95be21ce6f0999a304da5bdd9924dca.zip
[PALEMOON] Remove fullscreen and pointer-lock from permission managing
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 = {