rem: var mPrefs = Components.classes["@mozilla.org/preferences;1"].getService(Components.interfaces.nsIPrefBranch); 
add: var mPrefs = Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefBranch); 
context: function getSearchUrl(attr){  var rdf = Components.classes["@mozilla.org/rdf/rdf-service;1"].getService(Components.interfaces.nsIRDFService);   var ds = rdf.GetDataSource("rdf:internetsearch");   var kNC_Root = rdf.GetResource("NC:SearchEngineRoot");  var mPrefs = Components.classes["@mozilla.org/preferences;1"].getService(Components.interfaces.nsIPrefBranch);  var defaultEngine = mPrefs.getCharPref("browser.search.defaultengine");  var engineRes = rdf.GetResource(defaultEngine);  var prop = "http://home.netscape.com/NC-rdf#" + attr;  var kNC_attr = rdf.GetResource(prop);  var searchURL = readRDFString(ds, engineRes, kNC_attr);  return searchURL;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/f0d6d8712b965f68658dd56fab062282d0ac6850/navigator.js/buggy/xpfe/browser/resources/content/navigator.js