rem: try { var mailSession = Components.classes[mailSessionContractID].getService(Components.interfaces.nsIMsgMailSession);  var nsIFolderListener = Components.interfaces.nsIFolderListener; var notifyFlags = nsIFolderListener.intPropertyChanged | nsIFolderListener.event; mailSession.AddFolderListener(folderListener, notifyFlags); 
add: try { var mailSession = Components.classes[mailSessionContractID].getService(Components.interfaces.nsIMsgMailSession); var nsIFolderListener = Components.interfaces.nsIFolderListener; var notifyFlags = nsIFolderListener.intPropertyChanged | nsIFolderListener.event; mailSession.AddFolderListener(folderListener, notifyFlags); 
context: function AddToSession(){    try {        var mailSession = Components.classes[mailSessionContractID].getService(Components.interfaces.nsIMsgMailSession);                var nsIFolderListener = Components.interfaces.nsIFolderListener;        var notifyFlags = nsIFolderListener.intPropertyChanged | nsIFolderListener.event;        mailSession.AddFolderListener(folderListener, notifyFlags);	} catch (ex) {        dump("Error adding to session\n");    }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/112eb3c61f3751959441fb43cbe46e8ef204db63/msgMail3PaneWindow.js/buggy/mail/base/content/msgMail3PaneWindow.js