add: fileSpec.parentWindow = null; 
context:   function BrowserOpenFileWindow()  {    // Get filespecwithui component.                var fileSpec = createInstance( "component://netscape/filespecwithui", "nsIFileSpecWithUI" );    var url = null;    try {        url = fileSpec.chooseFile( "Open File" );    } catch ( exception ) {    }    if ( url && url != "" ) {        openNewWindowWith( url );    }  }
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/a00f882cdbc0a8bc520b8324316de86de864f72b/navigator.js/buggy/suite/browser/navigator.js