rem: testcases[tc].actual = "error"; testcases[tc].reason = msg; writeTestCaseResult( testcases[tc].expect, testcases[tc].actual, testcases[tc].description +" = "+ testcases[tc].actual + ": " + testcases[tc].reason ); stopTest(); return true; 
add: if (typeof SECTION == 'undefined') { SECTION = 'Unknown'; } if (typeof DESCRIPTION == 'undefined') { DESCRIPTION = 'Unknown'; } if (typeof EXPECTED == 'undefined') { EXPECTED = 'Unknown'; }  testcase = new TestCase(SECTION, DESCRIPTION, EXPECTED, "error"); testcase.reason += "Error: " + msg + " Source File: " + page + " Line: " + line + "."; stopTest(); 
context: function err( msg, page, line ) {    writeLineToLog( "Test failed with the message: " + msg );    testcases[tc].actual = "error";    testcases[tc].reason = msg;    writeTestCaseResult( testcases[tc].expect,                         testcases[tc].actual,                         testcases[tc].description +" = "+ testcases[tc].actual +                         ": " + testcases[tc].reason );    stopTest();    return true;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/f5797aeb2410e2259028142b87595fe71f03e531/browser.js/clean/js/tests/js1_1/browser.js