Bug 1403402 - Should not migrate profile for a fresh install, r?MattN
MozReview-Commit-ID: D9uMUXO2PV5
--- a/toolkit/xre/nsAppRunner.cpp
+++ b/toolkit/xre/nsAppRunner.cpp
@@ -2585,17 +2585,19 @@ SelectProfile(nsIProfileLock* *aResult,
deProfile->GetName(profileName);
if (profileName.EqualsLiteral("dev-edition-default")) {
count = 0;
}
}
#endif
if (!count) {
- gDoMigration = true;
+ // For a fresh install, we would like to let users decide
+ // to do profile migration on their own later after using.
+ gDoMigration = false;
gDoProfileReset = false;
// create a default profile
nsCOMPtr<nsIToolkitProfile> profile;
nsresult rv = aProfileSvc->CreateProfile(nullptr, // choose a default dir for us
#ifdef MOZ_DEV_EDITION
NS_LITERAL_CSTRING("dev-edition-default"),
#else