summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMoonchild <mcwerewolf@gmail.com>2018-05-01 09:54:46 +0200
committerGitHub <noreply@github.com>2018-05-01 09:54:46 +0200
commit62931346527d1ede4393db88033f77abb2489ce5 (patch)
tree296b52df99c5a96c0f2e49f932877fc5381c61ad
parentae45e61da06ba989fcbb856183d9578d4d4f51ed (diff)
parentc906abdbe21a5ead17342068d7d0311f924cea84 (diff)
downloadUXP-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..."
-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);