Bug 462254 - Remove EULA from Firefox installer / .dmg and related bits. r=gavin, r=rstrong

This commit is contained in:
Justin Dolske
2008-11-05 19:17:27 -08:00
parent 14ecdd0bca
commit 896ca7c6fd
15 changed files with 14 additions and 409 deletions

View File

@@ -135,6 +135,13 @@ function needHomepageOverride(prefb) {
.getService(nsIHttpProtocolHandler).misc;
if (mstone != savedmstone) {
// Bug 462254. Previous releases had a default pref to suppress the EULA
// agreement if the platform's installer had already shown one. Now with
// about:rights we've removed the EULA stuff and default pref, but we need
// a way to make existing profiles retain the default that we removed.
if (savedmstone)
prefb.setBoolPref("browser.rights.3.shown", true);
prefb.setCharPref("browser.startup.homepage_override.mstone", mstone);
return (savedmstone ? OVERRIDE_NEW_MSTONE : OVERRIDE_NEW_PROFILE);
}