Bug 1960560 - Part 3: Stop offering to import payment methods from Chrome on Windows. r=migration-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D248453
This commit is contained in:
committed by
mconley@mozilla.com
parent
f62fb0b07c
commit
1126b77237
@@ -256,9 +256,16 @@ export class ChromeProfileMigrator extends MigratorBase {
|
||||
];
|
||||
if (lazy.ChromeMigrationUtils.supportsLoginsForPlatform) {
|
||||
possibleResourcePromises.push(
|
||||
this._GetPasswordsResource(profileFolder),
|
||||
this._GetPaymentMethodsResource(profileFolder)
|
||||
this._GetPasswordsResource(profileFolder)
|
||||
);
|
||||
|
||||
// We no longer support importing payment methods from Chrome on
|
||||
// Windows.
|
||||
if (AppConstants.platform != "win") {
|
||||
possibleResourcePromises.push(
|
||||
this._GetPaymentMethodsResource(profileFolder)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
// Some of these Promises might reject due to things like database
|
||||
|
||||
@@ -31,7 +31,10 @@ run-if = ["os == 'linux'"]
|
||||
["test_Chrome_corrupt_history.js"]
|
||||
|
||||
["test_Chrome_credit_cards.js"]
|
||||
skip-if = ["os == 'linux' && os_version == '18.04' && processor == 'x86_64'"]
|
||||
skip-if = [
|
||||
"os == 'win'", # We no longer support importing payment methods from Chrome on Windows.
|
||||
"os == 'linux' && os_version == '18.04' && processor == 'x86_64'",
|
||||
]
|
||||
|
||||
["test_Chrome_extensions.js"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user