bug 303836 - Nulling the home page location causes the first window to be unmaximizable, r=bsmedberg
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user