diff options
author | Moonchild <mcwerewolf@gmail.com> | 2018-05-01 09:54:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-01 09:54:46 +0200 |
commit | 62931346527d1ede4393db88033f77abb2489ce5 (patch) | |
tree | 296b52df99c5a96c0f2e49f932877fc5381c61ad /application/palemoon | |
parent | ae45e61da06ba989fcbb856183d9578d4d4f51ed (diff) | |
parent | c906abdbe21a5ead17342068d7d0311f924cea84 (diff) | |
download | UXP-62931346527d1ede4393db88033f77abb2489ce5.tar UXP-62931346527d1ede4393db88033f77abb2489ce5.tar.gz UXP-62931346527d1ede4393db88033f77abb2489ce5.tar.lz UXP-62931346527d1ede4393db88033f77abb2489ce5.tar.xz UXP-62931346527d1ede4393db88033f77abb2489ce5.zip |
Merge pull request #312 from janekptacijarabaci/pm_feeds_1
[PALEMOON] Fix feeds - "Subscribe to this page..."
Diffstat (limited to 'application/palemoon')
-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); |