rem: fp.appendFilters(nsIFilePicker.filterHTML | nsIFilePicker.filterText | 
add: fp.appendFilters(nsIFilePicker.filterHTML | nsIFilePicker.filterText | 
context: function onChooseFile() {  try {    var fp = Components.classes["@mozilla.org/filepicker;1"].createInstance(nsIFilePicker);    fp.init(window, bundle.GetStringFromName("chooseFileDialogTitle"), nsIFilePicker.modeOpen);    if (dialog.openAppList.data == "2") {      // 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 | nsIFilePicker.filterText);      fp.appendFilters(nsIFilePicker.filterText);      fp.appendFilters(nsIFilePicker.filterAll);    }    else {      fp.appendFilters(nsIFilePicker.filterHTML | nsIFilePicker.filterText |                        nsIFilePicker.filterAll | nsIFilePicker.filterImages | nsIFilePicker.filterXML);    }    if (fp.show() == nsIFilePicker.returnOK && fp.fileURL.spec && fp.fileURL.spec.length > 0)      dialog.input.value = fp.fileURL.spec;  }  catch(ex) {  }    doEnabling();  }
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/f17b66929dfbdda35587b944072b9af16850e6ec/openLocation.js/buggy/suite/common/openLocation.js