rem:   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; 
add:  return fp.fileURL.spec; 
context: function GetLocalFileURL(filterType){  var fp = Components.classes["@mozilla.org/filepicker;1"].createInstance(nsIFilePicker);  if (filterType == "img")  {    fp.init(window, GetString("SelectImageFile"), nsIFilePicker.modeOpen);    fp.appendFilters(nsIFilePicker.filterImages);  }  else  {    fp.init(window, GetString("OpenHTMLFile"), nsIFilePicker.modeOpen);    // 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: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/f46626eb26a22cff3afcd47b53dde022884884df/EdDialogCommon.js/buggy/editor/ui/dialogs/content/EdDialogCommon.js