Bug 537474 - nsIBrowserDOMWindow.OPEN_CURRENTWINDOW implementation is broken. r=typo

This commit is contained in:
Dão Gottwald 2010-01-02 09:28:09 +01:00
parent 8acb9d0a33
commit 5a10ea27ab

View File

@ -4463,7 +4463,7 @@ nsBrowserAccess.prototype = {
newWindow = content;
if (aURI) {
let referrer = aOpener ? makeURI(aOpener.location.href) : null;
gBrowser.loadURIWithFlag(aURI.spec, loadflags, referrer, null, null);
gBrowser.loadURIWithFlags(aURI.spec, loadflags, referrer, null, null);
}
if (!gPrefService.getBoolPref("browser.tabs.loadDivertedInBackground"))
content.focus();