rem: for (var val in accountValues) { var vals = val.split("."); if (vals[0] == "identity") { dump("Saving identity info " + vals[1] + "(" + accountValues[val] + ") to " + identity +"\n"); identity[vals[1]] = accountValues[val]; }  if (vals[0] == "server") { dump("Saving server info " + vals[1] + "(" + accountValues[val] + ") to " + server +"\n"); server[vals[1]] = accountValues[val]; }  } 
add: saveAccount(accountValues, account); 
context: function onSave() {  // make sure the current visible page is saved  savePage(lastServerId, lastPageId);    for (var accountid in accountArray) {    var account = getAccountFromServerId(accountid);    var accountValues = accountArray[accountid];    var identity = account.defaultIdentity;    var server = account.incomingServer;        for (var val in accountValues) {      var vals = val.split(".");      if (vals[0] == "identity") {        dump("Saving identity info " + vals[1] + "(" +             accountValues[val] + ") to " + identity +"\n");        identity[vals[1]] = accountValues[val];      }      if (vals[0] == "server") {        dump("Saving server info " + vals[1] + "(" +             accountValues[val] + ") to " + server +"\n");        server[vals[1]] = accountValues[val];      }    }  }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/452690b4fb936cdc5a7b5109a9f95bff7cfd09df/AccountManager.js/buggy/mailnews/base/prefs/resources/content/AccountManager.js