rem: fp.appendFilters(nsIFilePicker.filterAll); 
context: function GetLocalFileURL(filterType){  var fp = Components.classes["@mozilla.org/filepicker;1"].createInstance(nsIFilePicker);  if (filterType == "img")  {    fp.init(window, GetString("SelectImageFile"), nsIFilePicker.modeOpen);    fp.appendFilters(nsIFilePicker.filterImages);    fp.appendFilters(nsIFilePicker.filterAll);  }  else  {    fp.init(window, GetString("OpenHTMLFile"), nsIFilePicker.modeOpen);    // When loading into Composer, direct user to prefer HTML files and text files,    //   so we call separately to control the order of the filter list    fp.appendFilters(nsIFilePicker.filterHTML);    fp.appendFilters(nsIFilePicker.filterText);    fp.appendFilters(nsIFilePicker.filterAll);  }  /* doesn't handle *.shtml files */  try {    var ret = fp.show();    if (ret == nsIFilePicker.returnCancel)      return null;  }  catch (ex) {    dump("filePicker.chooseInputFile threw an exception\n");    return null;  }  return fp.fileURL.spec;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/3bae74335fc3bd471e922d41bed242f074200540/EdDialogCommon.js/buggy/editor/ui/dialogs/content/EdDialogCommon.js