rem: prefInt = Components.classes["component: 
add: prefInt = Components.classes["@mozilla.org/preferences;1"]; 
context: function Save(){  dump('*** Save()\n');  try	{    var prefInt = null;    if (!prefInt) {		        prefInt = Components.classes["component://netscape/preferences"];		    if (prefInt) {			    prefInt = prefInt.getService();			    prefInt = prefInt.QueryInterface(Components.interfaces.nsIPref);		    }    }		if (prefInt)		{			prefInt.SetCharPref("intl.accept_languages", pref_string);			dump('*** saved pref: ' + pref_string + '.\n');		}	}	catch(ex)	{		dump("*** Couldn't save!\n");	}} //Save
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/84a1b71ff51ecb3a8a3cb76858e85a9316dc6d92/pref-languages.js/buggy/suite/common/pref/pref-languages.js