Could Firefox handle Form Pre-Population with Saved Username/Password Better?
I just saw firefox pre-populate the Last Name and Password field of my Create Account form with a saved username(email) and password, respectively. It's very strange to see the Last Name field of a Create Account form to be pre-populated with an Email address!
Here are the details...
I am using Firefox 54.0 (64-bit) on MacOS Sierra.
I opened this web page https://account.hallmark.com/#/crsignup I am a developer for this website.
The problem I found is, the Last Name (lastName) field was pre-populated with an email address by Firefox. (I checked all of the HTTP requests and the e-mail address was not in any of them.)
The Password field was pre-populated as well.
I think what is happening is, Firefox detected the Password field (either by the attribute name=password or by type="password"), then it found a saved password that I had used to sign in to account.hallmark.com earlier. Finally, it pre-populated the password field and the input field that immediately preceeded it (which happens to be a Last Name field) with the saved username and password.
This is weird behavior that will confuse our QA team and users.
I don't know if there is a better way for Firefox to pre-populate forms (perhaps only prepopulate <input> elements with type="text" and name="username" or something like that), but the current behavior is confusing.