rem: fp.file.path); 
add: fp.fileURL.spec); 
context: function EditorOpen(){  dump("In EditorOpen..\n");  var fp = Components.classes["component://mozilla/filepicker"].createInstance(nsIFilePicker);  fp.init(window, editorShell.GetString("OpenHTMLFile"), nsIFilePicker.modeOpen);  // While we include "All", include filters that prefer HTML and Text files  fp.setFilters(nsIFilePicker.filterText | nsIFilePicker.filterHTML | 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");  }  /* check for already open window and activate it... */  if (fp.file) {    var found = FindAndSelectEditorWindowWithURL(fp.file.path);    if (!found) {      /* open new window */      window.openDialog("chrome://editor/content",                        "_blank",                        "chrome,dialog=no,all",                        fp.file.path);    }  }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/8242fd67918a2815079a5861488d29d4389ce189/EditorCommands.js/buggy/editor/ui/composer/content/EditorCommands.js