add:  win.reportCallBack = function (testwin) { if (testwin.wrappedJSObject) { testwin = testwin.wrappedJSObject; } var testcases = testwin.testcases; for (var i = 0; i < testcases.length; i++) { var testcase = testcases[i]; cdump('testname: '    + testcase.name + ' ' + 'bug: '         + testcase.bugnumber + ' ' + (testcase.passed ? 'PASSED':'FAILED') + ' ' + 'description: ' + testcase.description + ' ' + 'expected: '    + testcase.expect + ' ' + 'actual: '      + testcase.actual + ' ' + 'reason: '      + testcase.reason); } };  
context: function userOnAfterPage(){  dlog('userOnAfterPage');  var win = gSpider.mDocument.defaultView;  if (win.wrappedJSObject)  {    win = win.wrappedJSObject;  }  win.__Report = win.reportHTML;  win.reportHTML = function () { win.__Report(); gPageCompleted = true; };// only report failures  win.document.forms.testCases.failures.checked = true;// these calls are all async  win.selectAll('e4x');// so need to delay this call to make // sure the previous ones have completed  win.setTimeout("executeList()", 10000);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/ad28ab5b8ad7c0ad3550ec4cd322c3e67017bd16/userhook-e4x.js/clean/js/tests/userhook-e4x.js