blob: f22926434ddc612f0f9a435f09dec5722fad45f5 [file] [log] [blame]
//@ skip if $model == "Apple Watch Series 3" # added by mark-jsc-stress-test.py
//@ skip
var array = new Array(10000);
for (var i = 0; i < 70000; ++i)
array[i % array.length] = new Int8Array(new ArrayBuffer(10));
for (var i = 0; i < array.length; ++i) {
if (array[i].length != 10)
throw "Error: bad length: " + array[i].length;
if (array[i].buffer.byteLength != 10)
throw "Error: bad buffer.byteLength: " + array[i].buffer.byteLength;
}