blob: 94f57f59dd9547375a777fe5c604dc5d12df1de2 [file] [log] [blame]
This test checks that TypedArray allocation failures should throw
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS new ArrayBuffer(7 * 1125899906842624) threw exception RangeError.
PASS new Uint8Array(7 * 1125899906842624) threw exception RangeError.
PASS new Uint8ClampedArray(7 * 1125899906842624) threw exception RangeError.
PASS new Uint16Array(7 * 1125899906842624) threw exception RangeError.
PASS new Uint32Array(7 * 1125899906842624) threw exception RangeError.
PASS new Int8Array(7 * 1125899906842624) threw exception RangeError.
PASS new Int16Array(7 * 1125899906842624) threw exception RangeError.
PASS new Int32Array(7 * 1125899906842624) threw exception RangeError.
PASS new Float32Array(7 * 1125899906842624) threw exception RangeError.
PASS new Float64Array(7 * 1125899906842624) threw exception RangeError.
PASS successfullyParsed is true
TEST COMPLETE