Closed Bug 1955185 Opened 1 month ago Closed 1 month ago

Confirmation hints: don't generate Fluent IDs at run-time

Categories

(Toolkit :: Form Autofill, task)

task

Tracking

()

RESOLVED FIXED
138 Branch
Tracking Status
firefox138 --- fixed

People

(Reporter: flod, Assigned: flod)

Details

Attachments

(1 file)

Generating Fluent IDs at run-time makes maintenance harder (you can't find the IDs in the codebase), and updates even harder (a change to one string would require changing the code, or changing all of them).

https://searchfox.org/mozilla-central/source/toolkit/components/formautofill/default/FormAutofillPrompter.sys.mjs#1440-1442

Pushed by flodolo@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/863d6d7ba875 – Create an explicit map of Fluent IDs for autofill hints, r=credential-management-reviewers,dimi
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 138 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: