initdir.initWithPath('/usr/bin'); if (initdir.exists() && initdir.isDirectory()) { fp.displayDirectory = initdir; 
try { initdir.initWithPath('/usr/bin'); if (initdir.exists() && initdir.isDirectory()) { fp.displayDirectory = initdir; } } catch(e) {  
function pref_editor_select() {    // Note: If jslint could, we'd use const here  var nsIFilePicker = Components.interfaces.nsIFilePicker;   var fp = Components.classes["@mozilla.org/filepicker;1"].    createInstance(nsIFilePicker);  fp.init(window, "Choose your editor", nsIFilePicker.modeOpen);  fp.appendFilters(nsIFilePicker.filterApps);  var initdir = Components.classes["@mozilla.org/file/local;1"].    createInstance(Components.interfaces.nsILocalFile);  initdir.initWithPath('/usr/bin');  if (initdir.exists() && initdir.isDirectory()) {    fp.displayDirectory = initdir;  }    var rv = fp.show();  if (rv == nsIFilePicker.returnOK) {    var file = fp.file;    var pref_editor = document.getElementById('pref_editor');    pref_editor.value = file.path;  }}
4040	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/4040/6a3cf9e14e008fad78cded7e1b9cdf67e59bf4b5/preferences.js/buggy/chrome/content/preferences.js