summaryrefslogtreecommitdiffstats
path: root/application/palemoon/base/content/openLocation.js
diff options
context:
space:
mode:
authorMoonchild <mcwerewolf@gmail.com>2018-05-01 09:55:22 +0200
committerGitHub <noreply@github.com>2018-05-01 09:55:22 +0200
commit92c59fe35046f3935cb812d6c866b3adeb7e8c69 (patch)
tree8399c886c179711c383eabae1541e3fb13922fed /application/palemoon/base/content/openLocation.js
parent62931346527d1ede4393db88033f77abb2489ce5 (diff)
parent1b50c57865c8bc11f9d6a196dc7474de0620791e (diff)
downloadUXP-92c59fe35046f3935cb812d6c866b3adeb7e8c69.tar
UXP-92c59fe35046f3935cb812d6c866b3adeb7e8c69.tar.gz
UXP-92c59fe35046f3935cb812d6c866b3adeb7e8c69.tar.lz
UXP-92c59fe35046f3935cb812d6c866b3adeb7e8c69.tar.xz
UXP-92c59fe35046f3935cb812d6c866b3adeb7e8c69.zip
Merge pull request #306 from JustOff/PR_owner_triggeringPrincipal
[PALEMOON] Replace `owner` with `triggeringPrincipal` to match the updated API
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":