rem: fp.setFilters(nsIFilePicker.filterHTML | nsIFilePicker.filterText | 
add: fp.appendFilters(nsIFilePicker.filterHTML | nsIFilePicker.filterText | 
context:   function BrowserOpenFileWindow()  {    // Get filepicker component.    try {      var fp = Components.classes["component://mozilla/filepicker"].createInstance(nsIFilePicker);      fp.init(window, bundle.GetStringFromName("openFile"), nsIFilePicker.modeOpen);      fp.setFilters(nsIFilePicker.filterHTML | nsIFilePicker.filterText | 			nsIFilePicker.filterAll | nsIFilePicker.filterImages | nsIFilePicker.filterXML);      if (fp.show() == nsIFilePicker.returnOK) {        openNewWindowWith(fp.fileURL.spec);      }    } catch (ex) { }  }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/89566c343fe90580f536c62ff1a0f450966fe7a6/navigator.js/buggy/suite/browser/navigator.js