haikuwebkit/LayoutTests/js/dom/dfg-negative-array-size-exp...

11 lines
296 B
Plaintext

Tests that creating an array with a negative size throws an exception.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS foo() threw exception RangeError: Array size is not a small enough positive integer..
PASS successfullyParsed is true
TEST COMPLETE