зеркало из https://github.com/mozilla/gecko-dev.git
Bug 706339 - Chrome migrator always offers migration even if Chrome is not present. r=gavin
This commit is contained in:
Родитель
071c5fe353
Коммит
91f3fcbf24
|
@ -479,7 +479,7 @@ ChromeProfileMigrator.prototype = {
|
|||
*
|
||||
* @return true if supported
|
||||
*/
|
||||
sourceExists: function Chrome_sourceExists()
|
||||
get sourceExists()
|
||||
{
|
||||
let result = this.getMigrateData(null, false);
|
||||
return result != 0;
|
||||
|
@ -495,7 +495,7 @@ ChromeProfileMigrator.prototype = {
|
|||
*
|
||||
* @return home page URL
|
||||
*/
|
||||
sourceHomePageURL: function Chrome_sourceHomePageURL()
|
||||
get sourceHomePageURL()
|
||||
{
|
||||
try {
|
||||
if (this._homepageURL)
|
||||
|
|
Загрузка…
Ссылка в новой задаче