2 * File Name: exception-001
4 * Description: Tests for JavaScript Standard Exceptions
8 * Author: christine@netscape.com
11 var SECTION = "exception-001";
12 var VERSION = "js1_4";
13 var TITLE = "Tests for JavaScript Standard Exceptions: CallError";
16 writeHeaderToLog( SECTION + " "+ TITLE);
19 var testcases = new Array();
26 result = "failed: no exception thrown";
32 result = "passed: threw exception",
33 exception = e.toString();
35 testcases[tc++] = new TestCase(
37 "Math() [ exception is " + exception +" ]",
38 "passed: threw exception",