mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1029128 - Fix bug in failure case biting debugging mochitest failures. r=dolske
--HG-- extra : rebase_source : cf05e05a696523a092b9a90a8686dbdade3db6fc extra : histedit_source : 1e9b8d4f201ba098f5743dd13fa2ee61c553223a
This commit is contained in:
parent
5ff53bf490
commit
3d2711184b
@ -189,6 +189,14 @@ LoginStore.prototype = {
|
||||
}
|
||||
}
|
||||
|
||||
// In some rare cases it's possible for logins to have been added to
|
||||
// our database between the call to OS.File.read and when we've been
|
||||
// notified that there was a problem with it. In that case, leave the
|
||||
// synchronously-added data alone. See bug 1029128, comment 4.
|
||||
if (this.dataReady) {
|
||||
return;
|
||||
}
|
||||
|
||||
// In any case, initialize a new object to host the data.
|
||||
this.data = {
|
||||
nextId: 1,
|
||||
|
Loading…
Reference in New Issue
Block a user