mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-31 14:15:30 +00:00
Bug 537474 - nsIBrowserDOMWindow.OPEN_CURRENTWINDOW implementation is broken. r=typo
This commit is contained in:
parent
8acb9d0a33
commit
5a10ea27ab
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user