rem: var pop3DownloadServersArray = new Array; 
add: var pop3DownloadServersArray = new Array(); 
context: function MsgGetMessagesForAllServers(defaultServer){    // now log into any server    try    {        var allServers = accountManager.allServers;        // array of isupportsarrays of servers for a particular folder        var pop3DownloadServersArray = new Array;         // parallel isupports array of folders to download to...        var localFoldersToDownloadTo = Components.classes["@mozilla.org/supports-array;1"].createInstance(Components.interfaces.nsISupportsArray);        var pop3Server;        for (var i=0;i<allServers.Count();i++)        {            var currentServer = allServers.GetElementAt(i).QueryInterface(Components.interfaces.nsIMsgIncomingServer);            var protocolinfo = Components.classes["@mozilla.org/messenger/protocol/info;1?type=" + currentServer.type].getService(Components.interfaces.nsIMsgProtocolInfo);            if (protocolinfo.canLoginAtStartUp && currentServer.loginAtStartUp)            {                if (defaultServer && defaultServer.equals(currentServer) &&                   !defaultServer.isDeferredTo &&                  defaultServer.rootFolder == defaultServer.rootMsgFolder)                {                    dump(currentServer.serverURI + "...skipping, already opened\n");                }                else if (currentServer.type == "pop3" && currentServer.downloadOnBiff)                {                    CoalesceGetMsgsForPop3ServersByDestFolder(currentServer, pop3DownloadServersArray, localFoldersToDownloadTo);                    pop3Server = currentServer.QueryInterface(Components.interfaces.nsIPop3IncomingServer);                }                else                {		                     // Check to see if there are new messages on the server                    currentServer.PerformBiff(msgWindow);                }            }        }        for (var i = 0; i < pop3DownloadServersArray.length; i++)        {          // any ol' pop3Server will do - the serversArray specifies which servers to download from          pop3Server.downloadMailFromServers(pop3DownloadServersArray[i], msgWindow, localFoldersToDownloadTo.GetElementAt(i), null);        }    }    catch(ex)    {        dump(ex + "\n");    }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/c201da7de9842b71200ec7024352f6e921d36102/mailWindowOverlay.js/clean/mail/base/content/mailWindowOverlay.js