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:
parent
0e0b60047a
commit
9d42ef6ab5
@ -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");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user