rem: if (logins.some(function(l) { return login.username == l.username })) 
add: var found = logins.some(function(l) { foundLogin = l; return (l.username == username); }); 
context:         if (logins.some(function(l) { return login.username == l.username }))
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/10234/c2f5edda79c8c9a7c31ee9e71d699adbcd1a6090/nsLoginManager.js/buggy/toolkit/components/passwordmgr/src/nsLoginManager.js