rem: var rdf = nsJSComponentManager.getService(RDFSERVICE_PROGID, "nsIRDFService"); 
add: var rdf = nsJSComponentManager.getService(RDFSERVICE_CONTRACTID, "nsIRDFService"); 
context: function checkSearchProgress(){	var	activeSearchFlag = false;  var navWindow = getNavigatorWindow(false);  if (navWindow)   	var	resultsTree = navWindow._content.document.getElementById("internetresultstree");	if(resultsTree) {	    var treeref = resultsTree.getAttribute("ref");    var ds = resultsTree.database;    if (ds && treeref) {      try {        var rdf = nsJSComponentManager.getService(RDFSERVICE_PROGID, "nsIRDFService");        if (rdf) {          var source = rdf.GetResource(treeref, true);          var loadingProperty = rdf.GetResource("http://home.netscape.com/NC-rdf#loading", true);          var target = ds.GetTarget(source, loadingProperty, true);          if (target)	target = target.QueryInterface(nsIRDFLiteral);          if (target)	target = target.Value;          activeSearchFlag = target == "true" ? true : false;        }      }      catch(ex) {        activeSearchFlag = false;      }    }  }      if (activeSearchFlag)    setTimeout("checkSearchProgress()", 1000);  else    doStop();    	return(activeSearchFlag);}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/0257791053c2b38e1dfaf2ee11afae973e82e394/search-panel.js/buggy/xpfe/components/search/resources/search-panel.js