haikuwebkit/LayoutTests/fast/canvas/webgl/data-view-crash-expected.txt

11 lines
428 B
Plaintext

Test that DataView does not crash with bad offset or length.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS view = new DataView(array.buffer, -4500000000) threw exception RangeError: byteOffset cannot be negative.
PASS view = new DataView(array.buffer, -4500000000, 4500000000) threw exception RangeError: byteOffset cannot be negative.
PASS successfullyParsed is true
TEST COMPLETE