rem: var prefsService = Components.classes["@mozilla.org/preferences;1"]; if (prefsService) prefsService = prefsService.getService(); if (prefsService) gPrefs = prefsService.QueryInterface(Components.interfaces.nsIPref);  
add: var prefsService = Components.classes["@mozilla.org/preferences-service;1"] .getService(Components.interfaces.nsIPrefService); gPrefs = prefsService.getBranch(null); 
context: function GetPrefsService(){  // Store the prefs object  try {    var prefsService = Components.classes["@mozilla.org/preferences;1"];    if (prefsService)      prefsService = prefsService.getService();    if (prefsService)      gPrefs = prefsService.QueryInterface(Components.interfaces.nsIPref);    if (!gPrefs)      dump("failed to get prefs service!\n");  }  catch(ex)  {    dump("failed to get prefs service!\n");  }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/faf03ce445712b372523f881cc3144cfadc7a611/editor.js/buggy/editor/ui/composer/content/editor.js