mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
create new records with correct guid set
This commit is contained in:
parent
d80bdb5dc0
commit
47ac6a5d0c
@ -116,13 +116,16 @@ PasswordStore.prototype = {
|
||||
},
|
||||
|
||||
_nsLoginInfoFromRecord: function PasswordStore__nsLoginInfoRec(record) {
|
||||
return new this._nsLoginInfo(record.hostname,
|
||||
record.formSubmitURL,
|
||||
record.httpRealm,
|
||||
record.username,
|
||||
record.password,
|
||||
record.usernameField,
|
||||
record.passwordField);
|
||||
let info = new this._nsLoginInfo(record.hostname,
|
||||
record.formSubmitURL,
|
||||
record.httpRealm,
|
||||
record.username,
|
||||
record.password,
|
||||
record.usernameField,
|
||||
record.passwordField);
|
||||
info.QueryInterface(Ci.nsILoginMetaInfo);
|
||||
info.guid = record.id;
|
||||
return info;
|
||||
},
|
||||
|
||||
cacheLogins: function PasswordStore_cacheLogins() {
|
||||
|
Loading…
Reference in New Issue
Block a user