rem: prefB.setCharPref(currentEnginePref, this._currentEngine.name); 
add: setLocalizedPref(currentEnginePref, this._currentEngine.name); 
context:   set currentEngine(val) {    ENSURE_ARG(val instanceof Ci.nsISearchEngine,               "Invalid argument passed to currentEngine setter");    var newCurrentEngine = this.getEngineByName(val.name);    ENSURE(newCurrentEngine, "Can't find engine in store!",           Cr.NS_ERROR_UNEXPECTED);    this._currentEngine = newCurrentEngine;    var currentEnginePref = BROWSER_SEARCH_PREF + "selectedEngine";    var prefB = Cc["@mozilla.org/preferences-service;1"].      getService(Ci.nsIPrefService).QueryInterface(Ci.nsIPrefBranch);    if (this._currentEngine == this.defaultEngine) {      if (prefB.prefHasUserValue(currentEnginePref))        prefB.clearUserPref(currentEnginePref);    }    else {      prefB.setCharPref(currentEnginePref, this._currentEngine.name);    }    notifyAction(this._currentEngine, SEARCH_ENGINE_CURRENT);  },
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/09fd401d4cce3e8bcbe9154291546b014ff81e88/nsSearchService.js/buggy/browser/components/search/nsSearchService.js