rem: var identity; var server; 
add: var identity = null; var server = null; 
context: function saveAccount(accountValues, account){  var identity;  var server;    if (account) {    identity = account.defaultIdentity;    server = account.incomingServer;  }    for (var type in accountValues) {    var typeArray = accountValues[type];        for (var slot in typeArray) {      var dest;      try {      if (type == "identity")        dest = identity;      else if (type == "server")        dest = server;      else if (type == "pop3")        dest = server.QueryInterface(Components.interfaces.nsIPop3IncomingServer);            else if (type == "imap")        dest = server.QueryInterface(Components.interfaces.nsIImapIncomingServer);            else if (type == "none")        dest = server.QueryInterface(Components.interfaces.nsINoIncomingServer);             else if (type == "nntp")        dest = server.QueryInterface(Components.interfaces.nsINntpIncomingServer);      else if (type == "smtp")        dest = smtpService.defaultServer;            } catch (ex) {        // don't do anything, just means we don't support that      }      if (dest == undefined) continue;            if (dest[slot] != typeArray[slot]) {        //dump("Array->Account: " + slot + " to " + dest + "\n");        try {          dest[slot] = typeArray[slot];        } catch (ex) {          // hrm... need to handle special types here        }      }    }  }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/56d8a45bd844b891416d1d3eeeabb0b70bdc6bf1/AccountManager.js/buggy/mailnews/base/prefs/resources/content/AccountManager.js