mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 01:48:05 +00:00
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:
parent
6c9de3f44a
commit
8673dbea09
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user