Open Bug 1625076 Opened 5 years ago Updated 2 years ago

Use HTMLInputElement.hasBeenTypePassword for DOMInputPasswordAdded/DOMFormHasPassword

Categories

(Toolkit :: Password Manager, task, P3)

task

Tracking

()

People

(Reporter: MattN, Unassigned)

References

Details

(Whiteboard: [passwords:fill-ui] [passwords:tech-debt])

Bug 1551730 is using hasBeenTypePassword for autocomplete and autofill while bug 1625075 is for the context menu. This bug should do the same for DOMInputPasswordAdded and DOMFormHasPassword events.

I'm not actually sure what the real world benefit to this is or whether it would cause more problems than it would solve. This needs more investigation. IIRC type changes to 'password' may already be handled. We would also want to be careful to not have this event fire multiple times for the same inputs if a field is appended and then the type is toggled.

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.