rem: .getService(Components.interfaces.nsILocaleService); 
add: .getService(Components.interfaces.nsILocaleService); 
context: function isBidiEnabled(){  var rv = false;  var systemLocale;  try {    var localeService = Components.classes["@mozilla.org/intl/nslocaleservice;1"]                                 .getService(Components.interfaces.nsILocaleService);    systemLocale = localeService.getSystemLocale().getCategory("NSILOCALE_CTYPE");    rv = /^(he|ar|syr|fa|ur)-/.test(systemLocale);  } catch (e) {}  if (!rv) {    // check the overriding pref    try {      rv = pref.getBoolPref("bidi.browser.ui");    }    catch (e) {}  }  return rv;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/61b1af62c5c221b826da94669fbbe4446852bf5a/navigator.js/buggy/suite/browser/navigator.js