Open Bug 538934 Opened 11 years ago Updated 2 years ago

Password manager should fill in password for read only username

Categories

(Core :: DOM: Core & HTML, enhancement)

x86
Linux
enhancement
Not set
normal

Tracking

()

UNCONFIRMED

People

(Reporter: enigma, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.4) Gecko/20091117 Gentoo Firefox/3.5.4
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.4) Gecko/20091117 Gentoo Firefox/3.5.4

Firefox refuses to enter passwords if the username field is readOnly.  I understand not filling forms if the password field is disabled or readOnly.  I think a decent approach would be to check if the username field is readOnly.  If it is readOnly, then check to see if it has a pre-filled value.  If it is, and it matches a username already in our database, then the appropriate password can be filled in.

Reproducible: Always

Steps to Reproduce:
1. Visit http://www.strudel-hound.com/test.php?save=true
2. Enter any password, and accept Firefox's option to save the password
3. Visit http://www.strudel-hound.com/test.php
Actual Results:  
No password filled in.

Expected Results:  
Password filled in.

I set up that test page as just that, a test page.  It will print out whatever you type in the password field when you click submit, so don't enter real passwords.
Blocks: 533065
No longer blocks: 533065
Component: HTML: Form Submission → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.