rem: try { window.close(); } catch ( exception ) { } dump( "Error closing dialog\n" ); onStatus( "Error.  Press Close button to close dialog." ); dialog.cancel.childNodes[0].nodeValue = "Close"; 
add: window.close(); 
context: function onError( errorCode ) {    // XXX - l10n    var msg = "Unknown error";    switch ( errorCode ) {        default:            break;    }    alert( msg );    try {        window.close();    } catch ( exception ) {    }    dump( "Error closing dialog\n" );      onStatus( "Error.  Press Close button to close dialog." );    dialog.cancel.childNodes[0].nodeValue = "Close";}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/dfb9e1fde458b0132bc8f2641baaf3db51fea88d/downloadProgress.js/clean/xpfe/components/xfer/resources/downloadProgress.js