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); } catch (ex) { dump("Error adding to session\n"); } 
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); } catch (ex) { dump("Error adding to session\n"); } 
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/2007_temp/2007/9421/df6c90de4053d1c9239c66be97aa7f3c8fcb9377/msgMail3PaneWindow.js/buggy/mailnews/base/resources/content/msgMail3PaneWindow.js