Regression test for https://webkit.org/b/141098. Make sure eval() properly handles running out of stack space. This test should run without crashing.

On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".


PASS Exception: RangeError: Maximum call stack size exceeded.
PASS Exception: RangeError: Maximum call stack size exceeded.
PASS successfullyParsed is true

TEST COMPLETE

