rem: dump("removeSearchRow: " + treeItemRow + "\n"); 
context: function removeSearchRow(index){    dump("removing search term " + index + "\n");    var searchTermObj = gSearchTerms[index];    if (!searchTermObj) {        dump("removeSearchRow: couldn't find search term " + index + "\n");        return;    }    // need to remove row from tree, so walk upwards from the    // searchattribute to find the first <treeitem>    var treeItemRow = searchTermObj.searchattribute;    dump("removeSearchRow: " + treeItemRow + "\n");    while (treeItemRow) {        if (treeItemRow.localName == "treeitem") break;        treeItemRow = treeItemRow.parentNode;    }    if (!treeItemRow) {        dump("Error: couldn't find parent treeitem!\n");        return;    }    if (searchTermObj.searchTerm) {        dump("That was a real row! queuing " + searchTermObj.searchTerm + " for disposal\n");        gSearchRemovedTerms[gSearchRemovedTerms.length] = searchTermObj.searchTerm;    } else {        dump("That wasn't real. ignoring \n");    }        treeItemRow.parentNode.removeChild(treeItemRow);    // remove it from the list of terms - XXX this does it?    dump("Removing row " + index + " from " + gSearchTerms.length + " items\n");    // remove the last element    gSearchTerms.length--;    dump("Now there are " + gSearchTerms.length + " items\n");}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/fef9f8d4292f9cc84bd5e1980843cad879e6601c/searchTermOverlay.js/buggy/mailnews/base/search/resources/content/searchTermOverlay.js