summaryrefslogtreecommitdiffstats
path: root/application/palemoon
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-05-01 08:02:38 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-05-01 08:02:38 +0200
commitc906abdbe21a5ead17342068d7d0311f924cea84 (patch)
tree175d7387360d5af87419113d42f608031b18eb56 /application/palemoon
parentfefce8f7ccbc476cfc46e61b01eff069346d3c73 (diff)
downloadUXP-c906abdbe21a5ead17342068d7d0311f924cea84.tar
UXP-c906abdbe21a5ead17342068d7d0311f924cea84.tar.gz
UXP-c906abdbe21a5ead17342068d7d0311f924cea84.tar.lz
UXP-c906abdbe21a5ead17342068d7d0311f924cea84.tar.xz
UXP-c906abdbe21a5ead17342068d7d0311f924cea84.zip
[PALEMOON] Fix feeds - "Subscribe to this page..."
Issue #121
Diffstat (limited to 'application/palemoon')
-rw-r--r--application/palemoon/components/feeds/FeedWriter.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/palemoon/components/feeds/FeedWriter.js b/application/palemoon/components/feeds/FeedWriter.js
index cbb146564..2ae31dffa 100644
--- a/application/palemoon/components/feeds/FeedWriter.js
+++ b/application/palemoon/components/feeds/FeedWriter.js
@@ -1173,7 +1173,7 @@ FeedWriter.prototype = {
var secman = Cc["@mozilla.org/scriptsecuritymanager;1"].
getService(Ci.nsIScriptSecurityManager);
- this._feedPrincipal = secman.getSimpleCodebasePrincipal(this._feedURI);
+ this._feedPrincipal = secman.createCodebasePrincipal(this._feedURI, {});
LOG("Subscribe Preview: feed uri = " + this._window.location.href);