rem: cdump('testname: '    + testcase.name + ' ' + 
add: cdump('test: '    + testcase.path + ' ' + 
context: function checkTestCompleted(){  var win = gSpider.mDocument.defaultView;  if (win.wrappedJSObject)  {    win = win.wrappedJSObject;  }  if (win.gPageCompleted)  {    gPageCompleted = true;    var testcases = win.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);    }  }  else  {    dlog('page not completed, recheck');    setTimeout(checkTestCompleted, gCheckInterval);  }  }
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/6031ffe85af76e964441ced43e7cef15bd32b06e/userhookeach-e4x.js/clean/js/tests/userhookeach-e4x.js