Backed out changeset b18e7995e7cd (bug 1393332) for causing xpcshell failures on test_Chrome_credit_cards.js CLOSED TREE
This commit is contained in:
@@ -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([
|
||||
|
||||
Reference in New Issue
Block a user