add: var nsIFilePicker = Components.interfaces.nsIFilePicker; 
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.appendFilters(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/ff2c33698b5891510086aafb46893f440251ab35/navigator.js/buggy/suite/browser/navigator.js