Closed Bug 716515 Opened 10 years ago Closed 9 years ago

Password not filled if username selected from autocomplete suggestions


(Firefox for Android Graveyard :: General, defect, P3)

12 Branch


(firefox13 verified, firefox14 verified, fennec12+)

Firefox 14
Tracking Status
firefox13 --- verified
firefox14 --- verified
fennec 12+ ---


(Reporter: camelia.urian, Assigned: wesj)



(1 file)

Build ID: Mozilla/5.0 (Android; Linux armv7l; rv:12.0a1) Gecko/20120108 Firefox/12.0a1 Fennec/12.0a1
Device: Samsung Nexus S
OS: Android 2.3

Steps to reproduce:
1. Login to with several accounts (user & pass) and save passwords for all. 
2. Open a new tab and go to, select login
3. Start typing username previously saved.
4. Select username from Form Autocomplete Suggestions pop-up.
5. Move focus to the password field.

Expected results:
 The password field should be filled automatically

Actual results:
 The password field is not filled.

 - if user name is typed(not selected from suggestions list), then password is field is filled automatically when focus is moved on password field.
Shouldn't you already be signed in by opening another tab and visiting the same site?

Anyhow, signing out, and going to Litmus, tapping sign-in, I see the fields pre-populated with my credentials saved. This works for me.

Can you re-test?

Samsung Nexus S (Android 4.0.3)
Mozilla/5.0 (Android; armv7l; rv:12.0a1) Gecko/20120109 Firefox/12.0a1 Fennec/12.0a1
Aaron, if you sign in and save password for 2 different accounts and sign out, when you go to the login page the fields are not pre-populated.
Assignee: nobody → wjohnston
tracking-fennec: --- → 12+
Priority: -- → P3
Attached patch PatchSplinter Review
The loginManager is listening for a DOMAutocomplete event on the input element:

We fired that in XUL here:

Note, if you're like me and try testing this on, it won't work because their password field is not an input type="password" until you focus it and start typing.
Attachment #605881 - Flags: review?(margaret.leibovic)
Comment on attachment 605881 [details] [diff] [review]

Good catch!
Attachment #605881 - Attachment is patch: true
Attachment #605881 - Flags: review?(margaret.leibovic) → review+
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 14
Verified/fixed on:

Aurora Fennec 13.0a2 (2012-03-25)
Nightly Fennec 14.0a1 (2012-03-25)
Device: Samsung Nexus S
OS: Android 2.3.6
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.