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

git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@178915 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mconnor%steelgryphon.com
2005-08-25 05:28:40 +00:00
parent c1b21c8ff6
commit e2888ad682

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");