rem: dump("getInvalidAccounts found: \n"); for (var i=0; i<invalidAccounts.length; i++) {  } 
context: function getInvalidAccounts(accounts){    var numAccounts = accounts.Count();    var invalidAccounts = new Array;    for (var i=0; i<numAccounts; i++) {        var account = accounts.QueryElementAt(i, Components.interfaces.nsIMsgAccount);        try {            if (!account.incomingServer.valid) {                dump("Found invalid server " + account.incomingServer + " in " + account + "!\n");                invalidAccounts[invalidAccounts.length] = account;                // skip to the next account                continue;            }        } catch (ex) {            // this account is busted, just keep going            continue;        }        var identities = account.identities;        var numIdentities = identities.Count();        for (var j=0; j<numIdentities; j++) {            var identity = identities.QueryElementAt(j, Components.interfaces.nsIMsgIdentity);            if (!identity.valid) {                dump("Found invalid identity " + identity + " in " + account + "\n");                invalidAccounts[invalidAccounts.length] = account;                continue;            }        }    }    dump("getInvalidAccounts found: \n");    for (var i=0; i<invalidAccounts.length; i++) {            }    return invalidAccounts;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/dba5885d0448af47da035b5c1fc9531a365402ea/accountUtils.js/buggy/mailnews/base/prefs/resources/content/accountUtils.js