summaryrefslogtreecommitdiffstats
path: root/application/palemoon/components/preferences/permissions.js
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-26 07:16:10 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-26 07:16:10 +0200
commiteebf4162a992bd0cc70f9c58bbb6e543b0438c89 (patch)
tree1ce6d6fbcf5ff3cc49b0a0943d96b2e5766dc5cb /application/palemoon/components/preferences/permissions.js
parent49ba38d216ec1a1f73d0368e4942bfd6bed9e52e (diff)
downloadUXP-eebf4162a992bd0cc70f9c58bbb6e543b0438c89.tar
UXP-eebf4162a992bd0cc70f9c58bbb6e543b0438c89.tar.gz
UXP-eebf4162a992bd0cc70f9c58bbb6e543b0438c89.tar.lz
UXP-eebf4162a992bd0cc70f9c58bbb6e543b0438c89.tar.xz
UXP-eebf4162a992bd0cc70f9c58bbb6e543b0438c89.zip
Bug 1170200 - Part 2: Update JavaScript consumers of nsIPermissionManager::Remove
Diffstat (limited to 'application/palemoon/components/preferences/permissions.js')
-rw-r--r--application/palemoon/components/preferences/permissions.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/application/palemoon/components/preferences/permissions.js b/application/palemoon/components/preferences/permissions.js
index 0bae7fc8d..9fa2b84b9 100644
--- a/application/palemoon/components/preferences/permissions.js
+++ b/application/palemoon/components/preferences/permissions.js
@@ -371,7 +371,8 @@ var gPermissionManager = {
}
for (let p of this._permissionsToDelete.values()) {
- Services.perms.remove(p.host, p.type);
+ let uri = Services.io.newURI("http://" + p.host, null, null);
+ Services.perms.remove(uri, p.type);
}
window.close();