test262 icon indicating copy to clipboard operation
test262 copied to clipboard

Missing coverage: Resizable / Growable (Shared)ArrayBuffers: Freezing a resizable-backed TypedArray

Open marjakh opened this issue 3 years ago • 0 comments

E.g.,

let ab = new ArrayBuffer(100, {maxByteLength: 200});
let ta = new Uint8Array(ab, 0, 10);
Object.freeze(ta); // Should throw!

V8 currently has a bug in here but test262 doesn't catch it.

cc @syg @sarahghp

marjakh avatar Apr 06 '22 08:04 marjakh