blob: 3f9baec1895e3def5580450f02b39d0a3936cb10 [file] [log] [blame]
This test checks for a regression against Incorrect error message given for certain calls.
The test confirms that the correct exception is thrown in the event of a stack overflow during a call to Array.toString.
It is possible that this may need to be updated if WebKit gets an improvement to its JavaScript stack support. Either through increasing the depth of the recursion, or through some other mechanism.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS ary.toString() threw exception RangeError: Maximum call stack size exceeded.
PASS successfullyParsed is true