зеркало из https://github.com/mozilla/gecko-dev.git
Bug 364041: failure to detect SeaMonkey (>= 1.0) as valid default browsers, which breaks first-startup profile migration, r=mano
This commit is contained in:
Родитель
1378d5bfb4
Коммит
1890b3cbc7
|
@ -160,7 +160,8 @@ NS_IMPL_ISUPPORTS1(nsProfileMigrator, nsIProfileMigrator)
|
||||||
#define INTERNAL_NAME_FIREFOX "firefox"
|
#define INTERNAL_NAME_FIREFOX "firefox"
|
||||||
#define INTERNAL_NAME_PHOENIX "phoenix"
|
#define INTERNAL_NAME_PHOENIX "phoenix"
|
||||||
#define INTERNAL_NAME_IEXPLORE "iexplore"
|
#define INTERNAL_NAME_IEXPLORE "iexplore"
|
||||||
#define INTERNAL_NAME_SEAMONKEY "apprunner"
|
#define INTERNAL_NAME_MOZILLA_SUITE "apprunner"
|
||||||
|
#define INTERNAL_NAME_SEAMONKEY "seamonkey"
|
||||||
#define INTERNAL_NAME_DOGBERT "netscape"
|
#define INTERNAL_NAME_DOGBERT "netscape"
|
||||||
#define INTERNAL_NAME_OPERA "opera"
|
#define INTERNAL_NAME_OPERA "opera"
|
||||||
#endif
|
#endif
|
||||||
|
@ -242,7 +243,8 @@ nsProfileMigrator::GetDefaultBrowserMigratorKey(nsACString& aKey,
|
||||||
aKey = "ie";
|
aKey = "ie";
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
if (internalName.LowerCaseEqualsLiteral(INTERNAL_NAME_SEAMONKEY)) {
|
if (internalName.LowerCaseEqualsLiteral(INTERNAL_NAME_MOZILLA_SUITE) ||
|
||||||
|
internalName.LowerCaseEqualsLiteral(INTERNAL_NAME_SEAMONKEY)) {
|
||||||
aKey = "seamonkey";
|
aKey = "seamonkey";
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче