rem: var fp = Components.classes["component: 
add: var fp = Components.classes["@mozilla.org/filepicker;1"].createInstance(nsIFilePicker); 
context: function GetLocalFileURL(filterType){  var fp = Components.classes["component://mozilla/filepicker"].createInstance(nsIFilePicker);  fp.init(window, editorShell.GetString("OpenHTMLFile"), nsIFilePicker.modeOpen);  if (filterType == "img")    fp.appendFilters(nsIFilePicker.filterImages);  else  {    // 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 {    fp.show();    /* need to handle cancel (uncaught exception at present) */  }  catch (ex) {    dump("filePicker.chooseInputFile threw an exception\n");    return null;  }    // Convert native filepath to the URL format  var fs = GetScriptFileSpec();  if (fs)  {dump(fp.file.path+" = native file path\n");    fs.nativePath = fp.file.path;dump(fs.URLString+" = URL string\n");    return fs.URLString;  }  return null;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/0257791053c2b38e1dfaf2ee11afae973e82e394/EdDialogCommon.js/clean/editor/ui/dialogs/content/EdDialogCommon.js