OLD | NEW |
1 Test that DataView does not crash with bad offset or length. | 1 Test that DataView does not crash with bad offset or length. |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 PASS view = new DataView(array.buffer, -4500000000) threw exception RangeError:
Size is too large (or is negative).. | 5 PASS view = new DataView(array.buffer, -4500000000) threw exception RangeError:
Start offset is outside the bounds of the buffer. |
6 PASS view = new DataView(array.buffer, -4500000000, 4500000000) threw exception
RangeError: Size is too large (or is negative).. | 6 PASS view = new DataView(array.buffer, -4500000000, 4500000000) threw exception
RangeError: Start offset is outside the bounds of the buffer. |
7 PASS successfullyParsed is true | 7 PASS successfullyParsed is true |
8 | 8 |
9 TEST COMPLETE | 9 TEST COMPLETE |
10 | 10 |
OLD | NEW |