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