rem: } 
add: }, 
context: 	OnFolderLoaded: function (folder)	{		if(folder)		{			var resource = folder.QueryInterface(Components.interfaces.nsIRDFResource);			if(resource)			{				var uri = resource.Value;				dump('In OnFolderLoaded for ' + uri);				dump('\n');				if(uri == gCurrentFolderToReroot)				{					gCurrentFolderToReroot="";					var msgFolder = folder.QueryInterface(Components.interfaces.nsIMsgFolder);					if(msgFolder)					{						msgFolder.endFolderLoading();						dump("before reroot in OnFolderLoaded\n");						RerootFolder(uri, msgFolder, gCurrentLoadingFolderIsThreaded, gCurrentLoadingFolderSortID);						gCurrentLoadingFolderIsThreaded = false;						gCurrentLoadingFolderSortID = "";					}				}				if(uri == gCurrentLoadingFolderURI)				{				  gCurrentLoadingFolderURI = "";				  //Now let's select the first new message if there is one				  var beforeScrollToNew = new Date();				  msgNavigationService.EnsureDocumentIsLoaded(document);				  ScrollToFirstNewMessage();				  var afterScrollToNew = new Date();				  var timeToScroll = (afterScrollToNew.getTime() - beforeScrollToNew.getTime())/1000;				  var afterFolderLoadTime = new Date();				  var timeToLoad = (afterFolderLoadTime.getTime() - gBeforeFolderLoadTime.getTime())/1000;				  if(showPerformance)				  {					  dump("Time to load " + uri + " is " +  timeToLoad + " seconds\n");				  	  dump("of which scrolling to new is" + timeToScroll + "seconds\n");				  }				}			}		}	}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/10f1f6ee3049cf89dc5b6f7031008e46b685be23/msgMail3PaneWindow.js/clean/mailnews/base/resources/content/msgMail3PaneWindow.js