Closed Bug 840411 Opened 11 years ago Closed 8 years ago

If browser.startup.homepage_override.mstone is set to ignore, about:home doesn't work

Categories

(Firefox :: General, defect)

17 Branch
defect
Not set
major

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: mkaply, Unassigned)

Details

A common thing for enterprise users to do is to set this pref:

pref("browser.startup.homepage_override.mstone", "ignore");

This causes the update pages not to appear.

Unfortunately, it appears the code that sets the search engine for about:home depends on ignore NOT being set:

https://mxr.mozilla.org/mozilla-esr17/source/browser/components/nsBrowserContentHandler.js#579

So if you set override mstone to ignore, about:home doesn't work on the ESR.
This is a major issue for the ESR.

Unfortunately the about:home rewrite didn't go in until Firefox 18.
I don't think there's a regression to find, about:home always used the homepage_override stuff, until the recent rewrite (bug 749477) that made it not depend on that stuff anymore.
Unless we want to backport that change, the only workaround is to also set the homepage to something else, not about:home.
(In reply to Marco Bonardo [:mak] from comment #2)
> I don't think there's a regression to find, about:home always used the
> homepage_override stuff, until the recent rewrite (bug 749477) that made it
> not depend on that stuff anymore.
> Unless we want to backport that change, the only workaround is to also set
> the homepage to something else, not about:home.

That's not really a workaround.

A user can always get to about:home by typing it or resetting the homepage.
(In reply to Michael Kaply (mkaply) from comment #3)
> A user can always get to about:home by typing it or resetting the homepage.

The former is not an interesting case (why should the user do that, and even if he does, why should he expect that to work?). regarding the latter I thought you could block prefs from being modified...
(In reply to Marco Bonardo [:mak] from comment #4)
> (In reply to Michael Kaply (mkaply) from comment #3)
> > A user can always get to about:home by typing it or resetting the homepage.
> 
> The former is not an interesting case (why should the user do that, and even
> if he does, why should he expect that to work?). regarding the latter I
> thought you could block prefs from being modified...

You're assuming that if someone wants to block the override page, they want to completely lock down the browser.

Blocking the override page is something companies do even if they don't change any other preferences.

So having that break about:home is not acceptable.
No, I'm saying that if we can't backport a fix to about:home THEN it would be clever to change and lock the homepage.  The only fix we can port is bug 749477, that I'm not sure respects the guidelines for approval, so there must also be an alternative solution in case.
Why is this bug now so much important, when about:home has always been broken from the initial implementation, when you lock the override? Was it working in ESR 10?
Argh. It was broken on ESR10 as well.

I don't understand why folks don't test these things until the last minute.

Removing tracking esr17 since it isn't even an ESR regression.
This works past esr 17.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.