rem: copyObjectToInterface(account.incomingServer, accountData.incomingServer); 
add: dump("*** copyObjectToInterface:\n"); for (var i in account.incomingServer) { if (typeof(account.incomingServer[i]) != "function") dump("account.incomingServer." + i + " = " + account.incomingServer[i] + "\n"); }  var destServer = account.incomingServer; var srcServer = accountData.incomingServer; copyObjectToInterface(destServer, srcServer);     dump("srcServer.ServerType-" + srcServer.type + " = " + srcServer["ServerType-" + srcServer.type] + "\n"); if (srcServer["ServerType-" + srcServer.type]) {  var IID = getInterfaceForType(srcServer.type); if (IID) { destProtocolServer = destServer.QueryInterface(IID); srcProtocolServer = srcServer["ServerType-" + srcServer.type];  dump("Copying over " + srcServer.type + "-specific data\n"); copyObjectToInterface(destProtocolServer, srcProtocolServer); } } 
context: function finishAccount(account, accountData) {    if (accountData.incomingServer) {        copyObjectToInterface(account.incomingServer,                              accountData.incomingServer);        account.incomingServer.valid=true;    }    // copy identity info    var destIdentity =        account.identities.QueryElementAt(0, nsIMsgIdentity);        if (accountData.identity && destIdentity) {        // fixup the email address if we have a default domain        var emailArray = accountData.identity.email.split('@');        if (emailArray.length < 2 && accountData.domain) {            accountData.identity.email += '@' + accountData.domain;        }        copyObjectToInterface(destIdentity,                              accountData.identity);        destIdentity.valid=true;    }    var smtpServer = smtpService.defaultServer;            if (accountData.smtpCreateNewServer)        smtpServer = smtpService.createSmtpServer();    dump("Copying smtpServer (" + smtpServer + ") to accountData\n");    copyObjectToInterface(smtpServer, accountData.smtp);    // some identities have 'preferred'     if (accountData.smtpUsePreferredServer && destIdentity)        destIdentity.smtpServerKey = smtpServer.key;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/03cff985622730f2113d48f3a7a5138e894f9b59/AccountWizard.js/buggy/mailnews/base/prefs/resources/content/AccountWizard.js