Toolkit:Password Manager/Debugging: Difference between revisions

(→‎Enable Debug Logging: Remove javascript.options.showInConsole reference)
Line 20: Line 20:
== Won't auto-fill a saved password ==
== Won't auto-fill a saved password ==
Note that '''auto-fill''' refers to the field being filled automatically whereas '''autocomplete''' refers to completing the field value based on what you have typed so far (usually via the autocomplete dropdown).
Note that '''auto-fill''' refers to the field being filled automatically whereas '''autocomplete''' refers to completing the field value based on what you have typed so far (usually via the autocomplete dropdown).
* Some sites use <code>autocomplete="off"</code> in their HTML, which directs the password manager not to autofill/autocomplete the login on page load. You can look for this in the page's HTML, or by using the password manager logging. You may still be able to autofill the password using the autocomplete dropdown on the username field (if one exists). As of Firefox 38, the <code>autocomplete="off"</code> has no effect on login fields. Here's some example output:
* Logins are not auto-filled in '''Private Browsing''' windows. You should still be able to autocomplete the password from the autocomplete dropdown on the username field (if one exists).
* Logins are not auto-filled on insecure <code>http:</code> documents. Make sure all ancestor frames are <code>https:</code>
Login storage: _findLogins: returning 1 logins
* If there are multiple username+password combinations saved for a domain and the username field wasn't pre-filled by the website, Firefox won't know which username/password to use and thus won't auto-fill. Use the autocomplete dropdown to choose the username you would like to use.
LoginManagerContent: found 1 matching logins.
LoginManagerContent: form not filled, has autocomplete=off
LoginManagerContent: autocomplete=off but form can be filled; notified observers
* Passwords are not auto-filled in '''Private Browsing''' mode. You should still be able to autocomplete the password from the autocomplete dropdown on the username field (if one exists).
* If there are multiple username+password combos saved for a domain and the username field wasn't pre-filled by the website, Firefox won't know which username/password to use and thus won't auto-fill. Use the autocomplete dropdown to choose the username you would like to use.
* If the page pre-fills the username field (e.g. using your session/local cookies or with a value attribute used as an old hack for placeholder text), Firefox won't fill in the password since the username field value doesn't match the one saved.
* If the page pre-fills the username field (e.g. using your session/local cookies or with a value attribute used as an old hack for placeholder text), Firefox won't fill in the password since the username field value doesn't match the one saved.


Confirmed users
933

edits