Open Bug 1531164 Opened 2 years ago Updated 1 month ago

autocomplete=username field should get username autocompletions when there is no password field


(Toolkit :: Password Manager, enhancement, P2)





(Reporter: MattN, Unassigned)


(Blocks 1 open bug)


(Whiteboard: [passwords:fill-ui] )

<input autocomplete=username>

should provide username suggestions from saved logins in autocomplete instead of form history.

This would probably be easiest to implement like the existing type=password special case in nsFormFillController::StartSearch (skipping markAsLoginManagerField) and then teaching the password manager autocomplete search code that the field should be treated as a username field.

  • The downside of this approach is that it means that if there are no saved usernames, the user won't get a form history fallback…

The chrome-only API GetAutocompleteInfo exists on <input> to get the parsed values. We can check that the fieldName returned is "username".

Flags: qe-verify+
See Also: → 1708455
You need to log in before you can comment on or make changes to this bug.