This test makes sure we don't crash when mutating a typed array while assigning to it | |
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". | |
PASS buffer.byteLength is 100 | |
PASS buffer.byteLength is 0 | |
PASS byteArray.set(array) threw exception TypeError: Underlying ArrayBuffer has been detached from the view. | |
PASS successfullyParsed is true | |
TEST COMPLETE | |