rem: openNewWindowWith(fp.file.path); 
add:   var tempFileSpec = Components.classes["component: tempFileSpec.nativePath = fp.file.path;  openNewWindowWith(tempFileSpec.URLString); 
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.setFilters(nsIFilePicker.filterAll);      fp.show();      openNewWindowWith(fp.file.path);    } catch (ex) { }  }
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/2501a6efd1cfd85aab54b85b7e8f68110fbc66fd/navigator.js/buggy/xpfe/browser/resources/content/navigator.js