summaryrefslogtreecommitdiffstats
path: root/application/palemoon/components/preferences/permissions.js
diff options
context:
space:
mode:
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();