rem: dump("Copying smtpServer (" + smtpServer + ") to accountData\n"); copyObjectToInterface(smtpServer, accountData.smtp); 
add: dump("Copying smtpServer (" + smtpServer + ") to accountData\n"); copyObjectToInterface(smtpServer, accountData.smtp); 
context: function finishAccount(account, accountData) {    if (accountData.incomingServer) {        var destServer = account.incomingServer;        var srcServer = accountData.incomingServer;        copyObjectToInterface(destServer, srcServer);        // see if there are any protocol-specific attributes        // if so, we use the type to get the IID, QueryInterface        // as appropriate, then copy the data over        dump("srcServer.ServerType-" + srcServer.type + " = " +             srcServer["ServerType-" + srcServer.type] + "\n");        if (srcServer["ServerType-" + srcServer.type]) {            // handle server-specific stuff            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);            }        }        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;    }    // don't try to create an smtp server if we already have one.    if (!destIdentity.smtpServerKey)    {      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;     }     if (this.FinishAccountHook != undefined) {         FinishAccountHook(accountData.domain);     }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/7fe4d0511f6b7d1a4d9113a2c2e64673d29cb106/AccountWizard.js/buggy/mailnews/base/prefs/resources/content/AccountWizard.js