rem:   try { passwordManager.removeUser(aUsername, aUsername); return true; } catch (e) { return false; 
add:   try { passwordManager.removeUser(aUsername, aUsername); } catch (e) { return false; } } else if (Cc["@mozilla.org/login-manager;1"]) {  var loginManager = Cc["@mozilla.org/login-manager;1"]. getService(Ci.nsILoginManager); var hostname = "chrome: encodeURIComponent(aUsername); var logins = loginManager.findLogins({}, hostname, null, "Google Calendar"); if (logins.length > 0) { for (var i = 0; i < logins.length; i++) { loginManager.removeLogin(logins[i]); } } else { return false; } 
context: function passwordManagerRemove(aUsername) {    var passwordManager = Cc["@mozilla.org/passwordmanager;1"].                          getService(Ci.nsIPasswordManager);    // Remove from Password Manager. Again, the host and username is always the    // same for our purposes.    try {        passwordManager.removeUser(aUsername, aUsername);        return true;    } catch (e) {        return false;    }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9421/919c58506a1502db07eea15e76b42780eff314d2/calGoogleUtils.js/clean/calendar/providers/gdata/components/calGoogleUtils.js