bug 303836 - Nulling the home page location causes the first window to be unmaximizable, r=bsmedberg

git-svn-id: svn://10.0.0.236/trunk@178914 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mconnor%steelgryphon.com 2005-08-25 05:28:37 +00:00
parent 0e0b60047a
commit 9d42ef6ab5

View File

@ -367,6 +367,13 @@ var nsBrowserContentHandler = {
var uri = prefb.getComplexValue("browser.startup.homepage",
nsIPrefLocalizedString).data;
if (!uri) {
prefb.clearUserPref("browser.startup.homepage");
uri = prefb.getComplexValue("browser.startup.homepage",
nsIPrefLocalizedString).data;
}
var count;
try {
count = prefb.getIntPref("browser.startup.homepage.count");