Stop "about:blank" from being loaded twice at startup and get rid of a reload at startup accidentily added a while back. bug=72342, r=hwaara, sr=hyatt

This commit is contained in:
disttsc%bart.nl 2006-09-14 05:56:41 +00:00
parent 99225e9a63
commit c015b9a633

View File

@ -471,7 +471,7 @@ function Startup()
var arrayArgComponents = window.arguments[1].split("=");
if (arrayArgComponents) {
//we should "inherit" the charset menu setting in a new window
BrowserSetDefaultCharacterSet(arrayArgComponents[1]);
appCore.setDefaultCharacterSet(arrayArgComponents[1]); //XXXjag see bug 67442
}
}
}
@ -528,7 +528,7 @@ function Startup()
startPage = window.arguments[0];
}
if (startPage)
if (startPage && startPage != "about:blank")
loadURI(startPage);
// Focus the content area if the caller instructed us to.