rem: const WM_PROGID = "component: var wm = nsJSComponentManager.getService(WM_PROGID, "nsIWindowMediator"); 
add: const WM_CONTRACTID = "@mozilla.org/rdf/datasource;1?name=window-mediator"; var wm = nsJSComponentManager.getService(WM_CONTRACTID, "nsIWindowMediator"); 
context: function openNewNavigator(){  var navURL = search_getBrowserURL();  var newNavigator = openDialog(navURL, "_blank", "chrome,all,dialog=no");    const WM_PROGID = "component://netscape/rdf/datasource?name=window-mediator";  var wm = nsJSComponentManager.getService(WM_PROGID, "nsIWindowMediator");  var mostRecentNavigator = wm.getMostRecentWindow("navigator:browser");  return mostRecentNavigator ? mostRecentNavigator : newNavigator;}
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