Backed out changeset 958aaea55e3f (bug 1029128)
authorCarsten "Tomcat" Book <cbook@mozilla.com>
Fri, 27 Jun 2014 15:17:37 +0200
changeset 204891 edce393d18312a54903add099a1d37fc3b54dc01
parent 204890 c2b6a49a39aca26d529af5779b8c95caa5bbbe73
child 204892 990442eb272d99a69197242b2f9093cefae2c4c6
push idunknown
push userunknown
push dateunknown
bugs1029128
milestone33.0a1
backs out958aaea55e3fa2e7dd55d78567ef55252b6569e3
Backed out changeset 958aaea55e3f (bug 1029128)
toolkit/components/passwordmgr/LoginStore.jsm
--- a/toolkit/components/passwordmgr/LoginStore.jsm
+++ b/toolkit/components/passwordmgr/LoginStore.jsm
@@ -184,24 +184,16 @@ LoginStore.prototype = {
                                                     { humanReadable: true });
             yield openInfo.file.close();
             yield OS.File.move(this.path, openInfo.path);
           } catch (e2) {
             Cu.reportError(e2);
           }
         }
 
-        // 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,
         };
       }
 
       this._processLoadedData();
     }.bind(this));