rem: prefInt = Components.classes["@mozilla.org/preferences;1"]; 
add: try { prefBranch = Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefService).getBranch(null); } catch (e) {} 
context: function Init(){  var applicationArea = "";  if ("arguments" in window && window.arguments[0])    applicationArea = window.arguments[0];  prefInt = Components.classes["@mozilla.org/preferences;1"];  if (prefInt) {    prefInt = prefInt.getService(Components.interfaces.nsIPref);    if (applicationArea == "mailedit") {      pref_string_title = "intl.charsetmenu.mailedit";    } else {    //default is the browser      pref_string_title = "intl.charsetmenu.browser.static";    }    pref_string_content = prefInt.getLocalizedUnicharPref(pref_string_title);    AddRemoveLatin1('add');  }  if (applicationArea == "mailedit") { // mailedit    LoadAvailableCharSets("NC:EncodersRoot");  } else {                                      // browser, mailview, composer    LoadAvailableCharSets("NC:DecodersRoot");  }  LoadActiveCharSets();}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/a19ff86b058da3c272d78e57ba1a6e97c171c6e9/pref-charset.js/buggy/suite/common/pref/pref-charset.js