rem: account.addIdentity(identity); 
add:  if (accountData.identity.email) { dump("am.createIdentity()\n"); var identity = am.createIdentity();  /* new nntp identities should use plain text by default * we want that GNKSA (The Good Net-Keeping Seal of Approval) */ if (server.type == "nntp") { identity.composeHtml = false; }  account.addIdentity(identity); }  
context: function createAccount(accountData){    var server = accountData.incomingServer;        // for news, username is always null    var username = (server.type == "nntp") ? null : server.username;    dump("am.createIncomingServer(" + username + "," +                                      server.hostName + "," +                                      server.type + ")\n");        var server = am.createIncomingServer(username,                                         server.hostName,                                         server.type);        dump("am.createIdentity()\n");    var identity = am.createIdentity();        /* new nntp identities should use plain text by default     * we want that GNKSA (The Good Net-Keeping Seal of Approval) */    if (server.type == "nntp") {			identity.composeHtml = false;    }    dump("am.createAccount()\n");    var account = am.createAccount();    account.addIdentity(identity);    // we mark the server as invalid so that the account manager won't    // tell RDF about the new server - it's not quite finished getting    // set up yet, in particular, the deferred storage pref hasn't been set.    server.valid = false;    account.incomingServer = server;    server.valid = true;    return account;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/5491a0f70df037f318238b3853ceca9f28db5392/AccountWizard.js/buggy/mailnews/base/prefs/resources/content/AccountWizard.js