Backed out changeset f7f2b8abcf6c (bug 1393332) for causing xpcshell failures on test_Chrome_formdata.js. CLOSED TREE

This commit is contained in:
Cosmin Sabou
2023-05-12 04:33:55 +03:00
parent 744f7a744d
commit 1bc54fb9cf
7 changed files with 1 additions and 308 deletions

View File

@@ -139,7 +139,6 @@ class MigrationUtils {
BOOKMARKS: 0x0020,
OTHERDATA: 0x0040,
SESSION: 0x0080,
PAYMENT_METHODS: 0x0100,
});
/**
@@ -768,7 +767,6 @@ class MigrationUtils {
bookmarks: 0,
logins: 0,
history: 0,
cards: 0,
};
getImportedCount(type) {
@@ -897,18 +895,6 @@ class MigrationUtils {
}
}
async insertCreditCardsWrapper(cards) {
this._importQuantities.cards += cards.length;
let { formAutofillStorage } = ChromeUtils.import(
"resource://autofill/FormAutofillStorage.jsm"
);
await formAutofillStorage.initialize();
for (let card of cards) {
await formAutofillStorage.creditCards.add(card);
}
}
initializeUndoData() {
gKeepUndoData = true;
gUndoData = new Map([