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