rem: dump("Invalid account: trying to get ISP data for " + identity.email + "\n"); var accountData = getIspDefaultsForEmail(identity.email); dump("Invalid account: Got " + accountData + "\n");   accountData = AccountToAccountData(firstInvalidAccount, accountData); 
add: var accountData = null;   if (identity.email) { dump("Invalid account: trying to get ISP data for " + identity.email + "\n"); accountData = getIspDefaultsForEmail(identity.email); dump("Invalid account: Got " + accountData + "\n");   accountData = AccountToAccountData(firstInvalidAccount, accountData); } else { accountData = getPreConfigDataForAccount(firstInvalidAccount); } 
context: function checkForInvalidAccounts(){	var firstInvalidAccount = getFirstInvalidAccount();    if (firstInvalidAccount) {        var pageData = GetPageData();        dump("We have an invalid account, " + firstInvalidAccount + ", let's use that!\n");        gCurrentAccount = firstInvalidAccount;        // there's a possibility that the invalid account has ISP defaults        // as well.. so first pre-fill accountData with ISP info, then        // overwrite it with the account data        var identity =            firstInvalidAccount.identities.QueryElementAt(0, nsIMsgIdentity);        dump("Invalid account: trying to get ISP data for " + identity.email + "\n");        var accountData = getIspDefaultsForEmail(identity.email);        dump("Invalid account: Got " + accountData + "\n");                // account -> accountData -> pageData        accountData = AccountToAccountData(firstInvalidAccount, accountData);                AccountDataToPageData(accountData, pageData);        gCurrentAccountData = accountData;            }}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/9b0b44963bb368085079aee2810169ba6a414c30/AccountWizard.js/clean/mailnews/base/prefs/resources/content/AccountWizard.js