Bug 1890427 - Part 6: Use an observer to regenerate backups when an address is deleted. r=backup-reviewers,kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D218876
This commit is contained in:
@@ -3231,7 +3231,8 @@ export class BackupService extends EventTarget {
|
||||
case "formautofill-storage-changed": {
|
||||
if (
|
||||
data == "remove" &&
|
||||
subject.wrappedJSObject.collectionName == "creditCards"
|
||||
(subject.wrappedJSObject.collectionName == "creditCards" ||
|
||||
subject.wrappedJSObject.collectionName == "addresses")
|
||||
) {
|
||||
this.#debounceRegeneration();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user