add: if ( url && url != "" ) openNewWindowWith( url ); } 
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: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/3d363f06d4daaea6dcec5a9887c44e56f151fad4/navigator.js/clean/xpfe/browser/resources/content/navigator.js