summaryrefslogtreecommitdiffstats
path: root/browser/base/content
diff options
context:
space:
mode:
Diffstat (limited to 'browser/base/content')
-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,