diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-06-17 13:14:07 +0200 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-06-17 13:14:07 +0200 |
commit | 3cf5a826006477aec57e428a216d317cec1c9ca0 (patch) | |
tree | 23e6ef01503dee748f3236de879e574aa93c7e08 /application/palemoon/base/content/nsContextMenu.js | |
parent | 8eb2350e4fb66edf33d13af12023862a9652dd1d (diff) | |
download | UXP-3cf5a826006477aec57e428a216d317cec1c9ca0.tar UXP-3cf5a826006477aec57e428a216d317cec1c9ca0.tar.gz UXP-3cf5a826006477aec57e428a216d317cec1c9ca0.tar.lz UXP-3cf5a826006477aec57e428a216d317cec1c9ca0.tar.xz UXP-3cf5a826006477aec57e428a216d317cec1c9ca0.zip |
[PALEMOON] Fix "loadingPrincipal" in nsContextMenu.js
Diffstat (limited to 'application/palemoon/base/content/nsContextMenu.js')
-rw-r--r-- | application/palemoon/base/content/nsContextMenu.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application/palemoon/base/content/nsContextMenu.js b/application/palemoon/base/content/nsContextMenu.js index 2a794c5f2..738868ccb 100644 --- a/application/palemoon/base/content/nsContextMenu.js +++ b/application/palemoon/base/content/nsContextMenu.js @@ -1126,7 +1126,7 @@ nsContextMenu.prototype = { // setting up a new channel for 'right click - save link as ...' var channel = NetUtil.newChannel({ uri: makeURI(linkURL), - loadingPrincipal: this.principal, + loadingPrincipal: this.target.ownerDocument.nodePrincipal, contentPolicyType: Ci.nsIContentPolicy.TYPE_SAVEAS_DOWNLOAD, securityFlags: Ci.nsILoadInfo.SEC_ALLOW_CROSS_ORIGIN_DATA_INHERITS, }); |