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