function test(){  enterFunc ('test');  printBugNumber (bug);  printStatus (summary);    if (typeof window != 'undefined')  {    gDelayTestDriverEnd = true;    document.write('<button id="button" onclick="document.getElementsByTagName(\'button\')[0] = \'wtf\';">Crash</button>');    window.addEventListener('load', crash, false);   }  else  {    reportCompare(expect, actual, summary);  }  exitFunc ('test');}
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/3703c3c05f398a63e55992f7687ef65273b26d6a/regress-367589.js/buggy/js/tests/js1_5/extensions/regress-367589.js