mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 16:46:26 +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
99225e9a63
commit
c015b9a633
@ -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