diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-05-01 08:02:38 +0200 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-05-01 08:02:38 +0200 |
commit | c906abdbe21a5ead17342068d7d0311f924cea84 (patch) | |
tree | 175d7387360d5af87419113d42f608031b18eb56 /application/palemoon/components/feeds | |
parent | fefce8f7ccbc476cfc46e61b01eff069346d3c73 (diff) | |
download | UXP-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/components/feeds')
-rw-r--r-- | application/palemoon/components/feeds/FeedWriter.js | 2 |
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); |