rem: toolkit.CloseWindow( window ); 
add: window.close(); 
context: function onLoad() {	dialog = new Object;	dialog.input     = document.getElementById( "dialog.input" );    dialog.ok        = document.getElementById( "dialog.ok" );    dialog.test        = document.getElementById( "dialog.test" );    dialog.testLabel        = document.getElementById( "dialog.testLabel" );    dialog.cancel    = document.getElementById( "dialog.cancel" );    dialog.help      = document.getElementById( "dialog.help" );	dialog.newWindow = document.getElementById( "dialog.newWindow" );	toolkit = XPAppCoresManager.Find( "toolkitCore" );	if ( !toolkit ) {		toolkit = new ToolkitCore();		toolkit.Init( "toolkitCore" );	}	browser = XPAppCoresManager.Find( window.arguments[0] );	if ( !browser ) {		dump( "unable to get browser app core\n" );		toolkit.CloseWindow( window );        return;	}	/* Give input field the focus. */	dialog.input.focus();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/dd276209837e796fd2ad43937aba59111ea71862/strres-test.js/buggy/intl/strres/tests/strres-test.js