mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Lots of changes and bugfixes: - Enable multiple username support by listening to change events for the username field when there is more than one stored login for the form. - Make the signon hashtable store a SignonHashEntry, which has a pointer to the first SignonDataEntry. This lets us adjust the head of the linked list without a hashtable operation, and also fixes a case where we would continue using a deleted entry, leading to a crash.- Change FindPasswordEntryFromSignonData to FnidPasswordEntryInternal, and refactor it a bit.- Clean up prefill logic so that multiple forms on a page could be prefilled.- Fix bug where the last input was used as the username field, instead of the input just before the password.- Make sure we write out all entries for each realm.- Make sure we include all entries in each realm when returning an enumerator.- Remove some form manager cruft I missed in passwordManager.js.
This commit is contained in:
parent
3f53c9bc9b
commit
9d1a632ea1
@ -69,10 +69,8 @@ function Startup() {
|
||||
}
|
||||
|
||||
function Shutdown() {
|
||||
if (isPasswordManager) {
|
||||
kObserverService.removeObserver(signonReloadDisplay, "signonChanged");
|
||||
kObserverService.removeObserver(signonReloadDisplay, "signonSelectUser");
|
||||
}
|
||||
kObserverService.removeObserver(signonReloadDisplay, "signonChanged");
|
||||
kObserverService.removeObserver(signonReloadDisplay, "signonSelectUser");
|
||||
}
|
||||
|
||||
var signonReloadDisplay = {
|
||||
@ -355,11 +353,7 @@ function TrimString(string)
|
||||
}
|
||||
|
||||
function doHelpButton() {
|
||||
if (isPasswordManager) {
|
||||
openHelp("password_mgr");
|
||||
} else {
|
||||
openHelp("forms_sites");
|
||||
}
|
||||
openHelp("password_mgr");
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user