mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-29 20:07:30 +09:00
[PALEMOON] Fix "loadingPrincipal" in nsContextMenu.js
This commit is contained in:
parent
2e3999cd7e
commit
9d3d50fd56
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue