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: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/0bf5c0a6c228bc83aea81fb93e06cfd534164eac/navigator.js/buggy/suite/browser/navigator.js