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 Error: INDEX
_SIZE_ERR: DOM Exception 1. | 5 PASS view = new DataView(array.buffer, -4500000000) threw exception Error: INDEX
_SIZE_ERR: DOM Exception 1. |
6 PASS view = new DataView(array.buffer, -4500000000, 4500000000) threw exception
Error: INDEX_SIZE_ERR: DOM Exception 1. | 6 PASS view = new DataView(array.buffer, -4500000000, 4500000000) threw exception
Error: INDEX_SIZE_ERR: DOM Exception 1. |
7 PASS successfullyParsed is true | 7 PASS successfullyParsed is true |
8 | 8 |
9 TEST COMPLETE | 9 TEST COMPLETE |
10 | 10 |
OLD | NEW |