summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMoonchild <mcwerewolf@gmail.com>2018-06-19 11:46:15 +0200
committerGitHub <noreply@github.com>2018-06-19 11:46:15 +0200
commit44df8103355a280c7852eb2910b4df7bcfc94a5c (patch)
treed09a6d21cfbd0459ee5525efa4d6505f0a1a89f5
parent7c6b5329c0376d576e22f63c78bac2911f2fe24f (diff)
parent7c1e2801476ad01c5583cfa7d89996e20e635c90 (diff)
downloadUXP-44df8103355a280c7852eb2910b4df7bcfc94a5c.tar
UXP-44df8103355a280c7852eb2910b4df7bcfc94a5c.tar.gz
UXP-44df8103355a280c7852eb2910b4df7bcfc94a5c.tar.lz
UXP-44df8103355a280c7852eb2910b4df7bcfc94a5c.tar.xz
UXP-44df8103355a280c7852eb2910b4df7bcfc94a5c.zip
Merge pull request #518 from janekptacijarabaci/pm_permissions_1
[PALEMOON] Fix "Permissions Manager" and get cookies
-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);
}
}