Bug 446568: make sure to focus new windows opened from external apps, r=mconnor

This commit is contained in:
Gavin Sharp 2009-02-24 10:33:26 -08:00
parent 2e7a255635
commit 45846ca399

View File

@ -947,6 +947,7 @@ function BrowserStartup() {
else if (window.arguments.length >= 3) {
loadURI(uriToLoad, window.arguments[2], window.arguments[3] || null,
window.arguments[4] || false);
content.focus();
}
// Note: loadOneOrMoreURIs *must not* be called if window.arguments.length >= 3.
// Such callers expect that window.arguments[0] is handled as a single URI.