summaryrefslogtreecommitdiffstats
path: root/browser/base/content/browser.js
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-05-01 00:16:47 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-05-01 00:16:47 +0200
commit855f11d8f6789bcf10442f8e426bfc1f66bf834d (patch)
treea635be4569dbfca2566242220e1685d70cdc4c15 /browser/base/content/browser.js
parent6b0c2a089eff38548af6e024a99172d2676c7cba (diff)
downloadUXP-855f11d8f6789bcf10442f8e426bfc1f66bf834d.tar
UXP-855f11d8f6789bcf10442f8e426bfc1f66bf834d.tar.gz
UXP-855f11d8f6789bcf10442f8e426bfc1f66bf834d.tar.lz
UXP-855f11d8f6789bcf10442f8e426bfc1f66bf834d.tar.xz
UXP-855f11d8f6789bcf10442f8e426bfc1f66bf834d.zip
Bug 1333726 - use serializeToString instead of non-existant serializePrincipal
Diffstat (limited to 'browser/base/content/browser.js')
-rwxr-xr-xbrowser/base/content/browser.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/browser/base/content/browser.js b/browser/base/content/browser.js
index 5a00a4737..0349ce401 100755
--- a/browser/base/content/browser.js
+++ b/browser/base/content/browser.js
@@ -851,7 +851,7 @@ function _loadURIWithFlags(browser, uri, params) {
let loadParams = {
uri: uri,
triggeringPrincipal: triggeringPrincipal
- ? gSerializationHelper.serializePrincipal(triggeringPrincipal)
+ ? gSerializationHelper.serializeToString(triggeringPrincipal)
: null,
flags: flags,
referrer: referrer ? referrer.spec : null,