summaryrefslogtreecommitdiffstats
path: root/application/palemoon/components/permissions
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-06-19 10:13:35 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-06-19 10:13:35 +0200
commit7c1e2801476ad01c5583cfa7d89996e20e635c90 (patch)
treee079465b2a36679aac7cbac970dae0b5ce6313ba /application/palemoon/components/permissions
parent34302180b38e903c7c071b501cbc8be89efd56ec (diff)
downloadUXP-7c1e2801476ad01c5583cfa7d89996e20e635c90.tar
UXP-7c1e2801476ad01c5583cfa7d89996e20e635c90.tar.gz
UXP-7c1e2801476ad01c5583cfa7d89996e20e635c90.tar.lz
UXP-7c1e2801476ad01c5583cfa7d89996e20e635c90.tar.xz
UXP-7c1e2801476ad01c5583cfa7d89996e20e635c90.zip
[PALEMOON] Fix "Permissions Manager" and cookies
Follow up #273
Diffstat (limited to 'application/palemoon/components/permissions')
-rw-r--r--application/palemoon/components/permissions/aboutPermissions.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/palemoon/components/permissions/aboutPermissions.js b/application/palemoon/components/permissions/aboutPermissions.js
index 6aaacf11d..78204abca 100644
--- a/application/palemoon/components/permissions/aboutPermissions.js
+++ b/application/palemoon/components/permissions/aboutPermissions.js
@@ -254,7 +254,7 @@ Site.prototype = {
while (enumerator.hasMoreElements()) {
let cookie = enumerator.getNext().QueryInterface(Ci.nsICookie2);
if (cookie.host.hasRootDomain(
- AboutPermissions.domainFromHost(this.host))) {
+ AboutPermissions.domainFromHost(this.principal.URI.host))) {
cookies.push(cookie);
}
}