rem: if (iSearch)      iSearch = iSearch.QueryInterface(Components.interfaces.nsIInternetSearchService); if (iSearch)      iSearch.ClearResultSearchSites(); 
add: if (iSearch) iSearch = iSearch.QueryInterface(Components.interfaces.nsIInternetSearchService); if (iSearch) iSearch.ClearResultSearchSites(); 
context: function onLoadInternetResults(){    // clear any previous results on load	var iSearch = Components.classes["component://netscape/rdf/datasource?name=internetsearch"].getService();	if (iSearch)      iSearch = iSearch.QueryInterface(Components.interfaces.nsIInternetSearchService);	if (iSearch)      iSearch.ClearResultSearchSites();    // the search URI is passed in as a parameter, so get it and them root the results tree    var searchURI = top._content.location.href;    if (searchURI)    {        var offset = searchURI.indexOf("?");        if (offset > 0)        {            searchURI = searchURI.substr(offset+1);            loadResultsTree(searchURI);        }    }    return(true);}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/3963ae2d5f0ad2d5070b78fe97d3cfa43d053907/internetresults.js/buggy/xpfe/components/search/resources/internetresults.js