diff options
Diffstat (limited to 'webkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/js/large-expressions-expected.txt')
-rw-r--r-- | webkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/js/large-expressions-expected.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/webkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/js/large-expressions-expected.txt b/webkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/js/large-expressions-expected.txt new file mode 100644 index 0000000..c928207 --- /dev/null +++ b/webkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/js/large-expressions-expected.txt @@ -0,0 +1,13 @@ +This test checks behavior with expressions that create deep parse trees. + +On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". + + +PASS eval(repeatedExpression("letterA", "+", 100)) is repeatedString("a", 100) +PASS eval(repeatedExpression("letterA", "+", 1000)) is repeatedString("a", 1000) +FAIL eval(repeatedExpression("letterA", "+", 10000)) should throw exception SyntaxError: Expression too deep. Threw exception RangeError: Maximum call stack size exceeded. +FAIL eval(repeatedExpression("letterA", "+", 100000)) should throw exception SyntaxError: Expression too deep. Threw exception RangeError: Maximum call stack size exceeded. +PASS successfullyParsed is true + +TEST COMPLETE + |