rem: {  try { var nsIFilePicker = Components.interfaces.nsIFilePicker; var fp = Components.classes["@mozilla.org/filepicker;1"].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) { openTopWin(fp.fileURL.spec); } } catch (ex) { } 
add: {  try { const nsIFilePicker = Components.interfaces.nsIFilePicker; var fp = Components.classes["@mozilla.org/filepicker;1"].createInstance(nsIFilePicker); fp.init(window, bundle.GetStringFromName("openFile"), nsIFilePicker.modeOpen); fp.appendFilters(nsIFilePicker.filterAll | nsIFilePicker.filterText | nsIFilePicker.filterImages | nsIFilePicker.filterXML | nsIFilePicker.filterHTML);  if (fp.show() == nsIFilePicker.returnOK) openTopWin(fp.fileURL.spec); } catch (ex) { 
context:   function BrowserOpenFileWindow()  {    // Get filepicker component.    try {      var nsIFilePicker = Components.interfaces.nsIFilePicker;      var fp = Components.classes["@mozilla.org/filepicker;1"].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) {        openTopWin(fp.fileURL.spec);      }    } catch (ex) { }  }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/acb80400903a048fb5359832e92abe784ae2e35b/navigator.js/clean/xpfe/browser/resources/content/navigator.js