rem: var msgFolder =  resource.QueryInterface(Components.interfaces.nsIMsgFolder); 
add: var msgFolder = resource.QueryInterface(Components.interfaces.nsIMsgFolder); 
context: function setServer(uri){   var resource = rdf.GetResource(uri);   var msgFolder =  resource.QueryInterface(Components.interfaces.nsIMsgFolder);   //Calling getFilterList will detect any errors in rules.dat, backup the file, and alert the user   //we need to do this because gFilterTree.setAttribute will cause rdf to call getFilterList and there is    //no way to pass msgWindow in that case.    if (msgFolder)     msgFolder.getFilterList(gFilterListMsgWindow);    gFilterTree.setAttribute("ref", uri);    updateButtons();}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/35dcce26ded7fabe3204f81d9766214596b03898/FilterListDialog.js/buggy/mailnews/base/search/resources/content/FilterListDialog.js