haikuwebkit/LayoutTests/js/string-index-overflow-expec...

12 lines
363 B
Plaintext

This test checks that accessing a string by an out of bounds index doesn't crash, furthermore the string should not appear to have out-of-bounds numeric properties.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS "x"[10] is undefined.
PASS "x".hasOwnProperty(10) is false
PASS successfullyParsed is true
TEST COMPLETE