Bug 570121 NS_ERROR_XPC_BAD_CONVERT_JS in xml:browser.loadURIWithFlags from xml:browser.loadURI from nsBrowserAccess.prototype._getBrowser
r=mfinkle
--- a/mobile/chrome/content/browser.js
+++ b/mobile/chrome/content/browser.js
@@ -1661,17 +1661,17 @@ nsBrowserAccess.prototype = {
try {
let referrer;
if (aURI) {
if (aOpener) {
location = aOpener.location;
referrer = gIOService.newURI(location, null, null);
}
- browser.loadURI(aURI.spec, loadflags, referrer, null, null);
+ browser.loadURIWithFlags(aURI.spec, loadflags, referrer, null, null);
}
browser.focus();
} catch(e) { }
return browser;
},
openURI: function(aURI, aOpener, aWhere, aContext) {