summaryrefslogtreecommitdiffstats
path: root/application/palemoon/base/content/openLocation.js
diff options
context:
space:
mode:
authorJustOff <Off.Just.Off@gmail.com>2018-04-30 17:24:47 +0300
committerJustOff <Off.Just.Off@gmail.com>2018-04-30 17:24:47 +0300
commit6bca91e94001bdc8cbdc3ce553f6951dbcb0cbd7 (patch)
tree04942010182f6521bdc5bcb2c660326d22ea2711 /application/palemoon/base/content/openLocation.js
parentfefce8f7ccbc476cfc46e61b01eff069346d3c73 (diff)
downloadUXP-6bca91e94001bdc8cbdc3ce553f6951dbcb0cbd7.tar
UXP-6bca91e94001bdc8cbdc3ce553f6951dbcb0cbd7.tar.gz
UXP-6bca91e94001bdc8cbdc3ce553f6951dbcb0cbd7.tar.lz
UXP-6bca91e94001bdc8cbdc3ce553f6951dbcb0cbd7.tar.xz
UXP-6bca91e94001bdc8cbdc3ce553f6951dbcb0cbd7.zip
[PALEMOON] Replace `owner` with `triggeringPrincipal` to match the updated UXP docshell
Diffstat (limited to 'application/palemoon/base/content/openLocation.js')
-rw-r--r--application/palemoon/base/content/openLocation.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/palemoon/base/content/openLocation.js b/application/palemoon/base/content/openLocation.js
index 1a10334c7..f39e34666 100644
--- a/application/palemoon/base/content/openLocation.js
+++ b/application/palemoon/base/content/openLocation.js
@@ -83,7 +83,7 @@ function open()
var flags = webNav.LOAD_FLAGS_ALLOW_THIRD_PARTY_FIXUP |
webNav.LOAD_FLAGS_FIXUP_SCHEME_TYPOS;
if (!mayInheritPrincipal)
- flags |= webNav.LOAD_FLAGS_DISALLOW_INHERIT_OWNER;
+ flags |= webNav.LOAD_FLAGS_DISALLOW_INHERIT_PRINCIPAL;
browser.gBrowser.loadURIWithFlags(url, flags, null, null, postData);
break;
case "1":