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