Closed Bug 1861721 Opened 2 years ago Closed 2 years ago

Improve address or credit card scenario check for the autofill-footer item

Categories

(Toolkit :: Form Autofill, task, P3)

task

Tracking

()

RESOLVED DUPLICATE of bug 1864340

People

(Reporter: janika, Unassigned)

References

Details

  1. We fill a <form> with an address or credit card record for the user
  2. The user focuses on a filled field
  3. We display an autocomplete popup containing a autofill-footer item either with the string "Manage addresses" or "Manage credit cards".

The way we distinguish between the both scenarios in step 3 is currently done via a hack by inspecting the value of the attribute ac-image of the autofill-footer item. Since the attribute might be removed in the future (see Bug 1861712), we should implement a proper method of determining whether we just filled address or credit card information to then know which footer string we need to display.

Blocks: 1861712
Status: NEW → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1864340
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.