Bug 570121 NS_ERROR_XPC_BAD_CONVERT_JS in xml:browser.loadURIWithFlags from xml:browser.loadURI from nsBrowserAccess.prototype._getBrowser
authortimeless@mozdev.org
Fri, 04 Jun 2010 15:21:10 +0300
changeset 66258 7b2186890c579d20abcb076adff8159967ac7458
parent 66257 8d2832cc692f67cf36f763592d6d2e677a5dcf32
child 66259 9914d423ef61c2b2a1492dfc8c048fa1dc965cba
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs570121
Bug 570121 NS_ERROR_XPC_BAD_CONVERT_JS in xml:browser.loadURIWithFlags from xml:browser.loadURI from nsBrowserAccess.prototype._getBrowser r=mfinkle
mobile/chrome/content/browser.js
--- 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) {