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; };  win.reportCallBack = function (testwin)     {      if (testwin.wrappedJSObject)      {        testwin = testwin.wrappedJSObject;      }      var testcases = testwin.testcases;      if (typeof testcases == 'undefined')      {        return;      }      for (var i = 0; i < testcases.length; i++)      {        var testcase = testcases[i];        cdump('test: '    + testcase.path + ' ' +              'bug: '         + testcase.bugnumber + ' ' +               'result: ' + (testcase.passed ? 'PASSED':'FAILED') + ' ' +              'type: browser ' +               'description: ' + testcase.description + ' ' +               'expected: '    + testcase.expect + ' ' +               'actual: '      + testcase.actual + ' ' +              'reason: '      + testcase.reason);      }    };// only report failures  win.document.forms.testCases.failures.checked = true;// use standards mode  win.document.forms.testCases.doctype.value = "standards";// 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: 10520	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/10520/0b675418ba636127763e94e614e62364d6caa659/userhook-e4x.js/buggy/js/tests/userhook-e4x.js