rem: var filterResource = rdf.GetResource(selection[0].id); 
add: var filterResource = rdf.GetUnicodeResource(selection[0].id); 
context: function currentFilter(){    var selection = document.getElementById("filterTree").selectedItems;    if (!selection || selection.length <=0)        return null;    var filter;    try {        var filterResource = rdf.GetResource(selection[0].id);        filter = filterResource.GetDelegate("filter",                                            Components.interfaces.nsIMsgFilter);    } catch (ex) {        dump(ex);        dump("no filter selected!\n");    }    return filter;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/5c08b5657e26038ee68ce3a02c1412ab8b45f300/FilterListDialog.js/buggy/mailnews/base/search/resources/content/FilterListDialog.js