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 ensureSearchPref(){  var rdf = Components.classes["@mozilla.org/rdf/rdf-service;1"].getService(Components.interfaces.nsIRDFService);  var ds = rdf.GetDataSource("rdf:internetsearch");  var mPrefs = Components.classes["@mozilla.org/preferences;1"].getService(Components.interfaces.nsIPrefBranch);  kNC_Name = rdf.GetResource("http://home.netscape.com/NC-rdf#Name");  try {    defaultEngine = mPrefs.getCharPref("browser.search.defaultengine");  } catch(ex) {    ensureDefaultEnginePrefs(rdf, ds);    defaultEngine = mPrefs.getCharPref("browser.search.defaultengine");  }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/6d2b00dcb9143af8bf63d46a139de8fb3416e3cf/navigator.js/clean/suite/browser/navigator.js