rem: var resource = rdf.GetResource(firstItem); 
add: var resource = gRDF.GetResource(firstItem); 
context: function onCancel(){    var firstItem = getSelectedServerForFilters();    if (!firstItem)        firstItem = getServerThatCanHaveFilters();        if (firstItem) {        var resource = rdf.GetResource(firstItem);        var msgFolder = resource.QueryInterface(Components.interfaces.nsIMsgFolder);        if (msgFolder)        {           msgFolder.ReleaseDelegate("filter");           msgFolder.setFilterList(null);           try           {              //now find Inbox              var outNumFolders = new Object();              var inboxFolder = msgFolder.getFoldersWithFlag(0x1000, 1, outNumFolders);              inboxFolder.setFilterList(null);           }           catch(ex)           {             dump ("ex " +ex + "\n");           }        }    }    window.close();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/03f8d406f8d7b80d4de01dffbecfac3f6e2854e0/FilterListDialog.js/buggy/mailnews/base/search/resources/content/FilterListDialog.js