diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-05-01 00:16:47 +0200 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-05-01 00:16:47 +0200 |
commit | 855f11d8f6789bcf10442f8e426bfc1f66bf834d (patch) | |
tree | a635be4569dbfca2566242220e1685d70cdc4c15 /browser/base/content | |
parent | 6b0c2a089eff38548af6e024a99172d2676c7cba (diff) | |
download | UXP-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')
-rwxr-xr-x | browser/base/content/browser.js | 2 |
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, |