VOOZH about

URL: https://phabricator.services.mozilla.com/D283460

⇱ ⚙ D283460 Bug 1443042 - Add custom label to saved credit cards r?dlee,sgalich


Bug 1443042 - Add custom label to saved credit cards r?dlee,sgalich
Needs RevisionPublic

Authored by TealStarsong on Feb 15 2026, 4:57 PM.
Referenced Files
Unknown Object (File)
Tue, Jun 9, 5:40 AM
Unknown Object (File)
Wed, Jun 3, 7:24 AM
Unknown Object (File)
Tue, Jun 2, 7:27 PM
Unknown Object (File)
Tue, Jun 2, 6:39 PM
Unknown Object (File)
Sun, May 31, 11:15 AM
Unknown Object (File)
Fri, May 22, 9:39 AM
Unknown Object (File)
Fri, May 22, 6:11 AM
Unknown Object (File)
Thu, May 21, 7:24 PM

Details

Reviewers
flod
dimi
Group Reviewers
Restricted Project
desktop-theme-reviewers
Bugzilla Bug ID
1443042
Summary

Allows users to assign a custom label to saved credit cards. When set, the
label is shown as the primary identifier in the autocomplete dropdown, the
credit-card management list under about:preferences#managePayments, and the
in-page autofill suggestions.

Re-based onto current central and updated to render the custom label in
the new Nova-redesigned Manage payment methods list (the original patch
only updated the legacy manageDialog.mjs).

Note: I'm separately looking at proposing the custom_label field upstream
in mozilla/application-services' autofill crate so it's already in the
schema by the time cards-on-AS lands on the Gecko side (see bug 2044946
for the in-flight passport pilot). That doesn't block this patch - the
field round-trips through the existing JSON storage and Sync's unknown-
fields preservation in the meantime.

Diff Detail

Repository
rFIREFOXAUTOLAND firefox-autoland
Branch
HEAD

Event Timeline

phab-bot changed the visibility from "Custom Policy" to "Public (No Login Required)".
phab-bot changed the edit policy from "Custom Policy" to "Restricted Project (Project)".
phab-bot removed a project: secure-revision.
This revision is now accepted and ready to land.Feb 16 2026, 7:45 AM
Comment Actions

This revision requires a Testing Policy Project Tag to be set before landing. Please apply one of , , , , . Tip: this Firefox add-on makes it easy!

This revision now requires review to proceed.Feb 16 2026, 7:46 AM
Comment Actions

@dimi Feel free to redirect, not sure if there's a group for formautofill

dimi requested changes to this revision.Feb 16 2026, 10:03 AM
Comment Actions

Hi Teal,
We really appreciate your help working on this issue!
I’m sorry that we have to reject this patch. This feature is not a trivial change and would require collaboration with UX to define the new experience for displaying credit card aliases.

We also plan to replace how we store credit card information with Application Services to make maintenance easier across platforms.
The credit card alias feature was coincidentally discussed recently and is already on our roadmap. However, implementing it now would introduce additional effort, since we would need to migrate the data again later. For that reason, we don’t plan to ship this feature until the credit card migration to Application Services is completed.

Apologies for not sharing this context earlier, and thank you again for your thoughtful contribution - we truly appreciate it.

This revision now requires changes to proceed.Feb 16 2026, 10:03 AM
TealStarsong updated this revision to Diff 1294947.
TealStarsong retitled this revision from Bug 1443042 - Add custom label to saved credit cards r?sgalich to Bug 1443042 - Add custom label to saved credit cards r?dlee,sgalich.
TealStarsong edited the summary of this revision. (Show Details)
dimi requested changes to this revision.Wed, Jun 17, 10:58 AM
Comment Actions

See Bug 1443042 Comment 29. Let's wait until we have the concert plan to ship this feature

This revision now requires changes to proceed.Wed, Jun 17, 10:58 AM

Revision Contents

PathSize
browser/
extensions/
formautofill/
content/
1 line
4 lines
1 line
skin/
shared/
6 lines
locales/
en-US/
browser/
preferences/
1 line
9 lines
toolkit/
components/
formautofill/
20 lines
2 lines
4 lines
shared/
2 lines
locales/
en-US/
toolkit/
payments/
8 lines
modules/
23 lines
CommitTreeParentsAuthorSummaryDate
4af01e1f838677209516486f13c921de97Teal Bauer
Bug 1443042 - Add custom label to saved credit cards r?dlee,sgalich (Show More…)
Tue, Jun 9, 1:36 PM

Diff 1295233

browser/extensions/formautofill/content/autofillEditForms.mjs

Loading...

browser/extensions/formautofill/content/editCreditCard.xhtml

Loading...

browser/extensions/formautofill/content/manageDialog.mjs

Loading...

browser/extensions/formautofill/skin/shared/editCreditCard.css

Loading...

browser/locales/en-US/browser/preferences/formAutofill.ftl

Loading...

browser/locales/en-US/browser/preferences/preferences.ftl

Loading...

toolkit/components/formautofill/FormAutofillPreferences.sys.mjs

Loading...

toolkit/components/formautofill/FormAutofillStorageBase.sys.mjs

Loading...

toolkit/components/formautofill/ProfileAutoCompleteResult.sys.mjs

Loading...

toolkit/components/formautofill/shared/FormAutofillUtils.sys.mjs

Loading...

toolkit/locales/en-US/toolkit/payments/payments.ftl

Loading...

toolkit/modules/CreditCard.sys.mjs

Loading...