rem: accountArray[result.serverId] = null; 
add: delete accountArray[result.serverId]; 
context: function onRemoveAccount(event) {  //dump("onRemoveAccount\n");  if (event.target.getAttribute("disabled") == "true") return;  var result = getServerIdAndPageIdFromTree(accounttree);  if (!result)     return;  if (result.serverId == "http://home.netscape.com/NC-rdf#PageTitleFakeAccount") {    nsPrefBranch.setBoolPref("mailnews.fakeaccount.show", false);    // select the default account    selectServer(null, null);   }  var account = getAccountFromServerId(result.serverId);  if (!account)     return;  var server = account.incomingServer;  var type = server.type;  var prettyName = server.prettyName;  var protocolinfo = Components.classes["@mozilla.org/messenger/protocol/info;1?type=" + type].getService(Components.interfaces.nsIMsgProtocolInfo);  var canDelete = protocolinfo.canDelete;  if (!canDelete) {    canDelete = server.canDelete;  }  if (!canDelete)     return;  var confirmRemoveAccount =    gPrefsBundle.getFormattedString("confirmRemoveAccount", [prettyName]);  var confirmTitle = gPrefsBundle.getString("confirmRemoveAccountTitle");  var promptService =    Components.classes["@mozilla.org/embedcomp/prompt-service;1"].               getService(Components.interfaces.nsIPromptService);  if (!promptService ||      !promptService.confirm(window, confirmTitle, confirmRemoveAccount)) {    return;  }  try {    // clear cached data out of the account array    if (accountArray[result.serverId])      accountArray[result.serverId] = null;    currentServerId = currentPageId = null;    accountManager.removeAccount(account);    selectServer(null, null);  }  catch (ex) {    dump("failure to remove account: " + ex + "\n");    var alertText = gPrefsBundle.getString("failedRemoveAccount");    window.alert(alertText);  }}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/cba005d6d7d649d31438b950049522b6e8cc0bee/AccountManager.js/buggy/mailnews/base/prefs/resources/content/AccountManager.js