Name Description Size Coverage
browser.js 0 -
catchguard-002-n.js 585 -
catchguard-003-n.js two non-guarded catch statements should generate an error 703 -
errstack-001.js Date: 28 Feb 2002 SUMMARY: Testing that Error.stack distinguishes between: A) top-level calls: myFunc(); B) no-name function calls: function() { myFunc();} () The stack frame for A) should begin with '@' The stack frame for B) should begin with '()' This behavior was coded by Brendan during his fix for bug 127136. See http://bugzilla.mozilla.org/show_bug.cgi?id=127136#c13 Note: our function getStackFrames(err) orders the array of stack frames so that the 0th element will correspond to the highest frame, i.e. will correspond to a line in top-level code. The 1st element will correspond to the function that is called first, and so on... NOTE: At present Rhino does not have an Error.stack property. It is an ECMA extension, see http://bugzilla.mozilla.org/show_bug.cgi?id=123177 5056 -
regress-58946.js 679 -
regress-95101.js Date: 13 August 2001 SUMMARY: Invoking an undefined function should produce a ReferenceError See http://bugzilla.mozilla.org/show_bug.cgi?id=95101 1887 -
regress-121658.js Date: 24 Jan 2002 SUMMARY: "Too much recursion" errors should be safely caught by try...catch See http://bugzilla.mozilla.org/show_bug.cgi?id=121658 In the cases below, we expect i>0. The bug was filed because we were getting i===0; i.e. |i| did not retain the value it had at the location of the error. 2293 -
regress-123002.js Date: 01 Feb 2002 SUMMARY: Testing Error.length See http://bugzilla.mozilla.org/show_bug.cgi?id=123002 NOTE: Error.length should equal the length of FormalParameterList of the Error constructor. This is currently 1 in Rhino, 3 in SpiderMonkey. The difference is due to http://bugzilla.mozilla.org/show_bug.cgi?id=50447. As a result of that bug, SpiderMonkey has extended ECMA to allow two new parameters to Error constructors: Rhino: new Error (message) SpiderMonkey: new Error (message, fileName, lineNumber) NOTE: since we have hard-coded the length expectations, this testcase will have to be changed if the Error FormalParameterList is ever changed again. To do this, just change the two LENGTH constants below - 2273 -
regress-181654.js Date: 23 Nov 2002 SUMMARY: Calling toString for an object derived from the Error class results in an TypeError (Rhino only) See http://bugzilla.mozilla.org/show_bug.cgi?id=181654 2795 -
regress-181914.js Date: 25 Nov 2002 SUMMARY: Calling a user-defined superconstructor See http://bugzilla.mozilla.org/show_bug.cgi?id=181914, esp. Comment 10. 3277 -
regress-257751.js 1506 -
regress-273931.js 1159 -
regress-332472.js 706 -
regress-333728.js try { actual = typeof (0 ? 0 : undef); } catch(ex) { actual = ex.name; } reportCompare(expect, actual, summary + ': typeof (0 ? 0 : undef)'); 1389 -
regress-342359.js 794 -
regress-347674.js BEGIN TEST * ************ 1154 -
regress-350650-n.js 826 -
regress-350837.js 876 -
shell.js 0 -