rem: var passwords = passwordManager.getAllLogins({});   return passwords.some(function (login) { return (login.hostname == realm); }); 
add: return passwordManager.countLogins(realm, "", ""); 
context: function realmHasPasswords(location) {  if (!location)     return false;    var realm = makeURI(location).prePath;  var passwordManager = Components.classes["@mozilla.org/login-manager;1"]                                  .getService(Components.interfaces.nsILoginManager);  var passwords = passwordManager.getAllLogins({});  // XXX untested  return passwords.some(function (login) { return (login.hostname == realm); });}
meta: 10520	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/10520/9c57a8368b2c6f7d128cd848c98d6196df76816b/security.js/buggy/browser/base/content/pageinfo/security.js