rem: loginManger.removeAllLogins(); 
add: loginManager.removeAllLogins(); 
context: function resetPassword(){  var pk11db = Components.classes[nsPK11TokenDB].getService(nsIPK11TokenDB);  var token = pk11db.findTokenByName(tokenName);  token.reset();  try {    var loginManager = Components.classes["@mozilla.org/login-manager;1"].                       getService(Components.interfaces.nsILoginManager);    loginManger.removeAllLogins();  } catch (e) {  }  var pref = Components.classes['@mozilla.org/preferences-service;1'].getService(Components.interfaces.nsIPrefService);  if (pref) {    pref = pref.getBranch(null);    try {      if (pref.getBoolPref("wallet.crypto")) {        // data in wallet is encrypted, clear it        var wallet = Components.classes['@mozilla.org/wallet/wallet-service;1'];        if (wallet) {          wallet = wallet.getService(Components.interfaces.nsIWalletService);          wallet.WALLET_DeleteAll();        }      }    }    catch(e) {      // wallet.crypto pref is missing    }  }  var bundle = document.getElementById("pippki_bundle");  var promptService = Components.classes["@mozilla.org/embedcomp/prompt-service;1"].getService();  promptService = promptService.QueryInterface(Components.interfaces.nsIPromptService);  if (promptService && bundle) {    promptService.alert(window,      bundle.getString("resetPasswordConfirmationTitle"),       bundle.getString("resetPasswordConfirmationMessage"));  }  return true;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/10234/453f293f6bff13fdc306fad4645e28d9a44aa96f/resetpassword.js/buggy/security/manager/pki/resources/content/resetpassword.js