test262 icon indicating copy to clipboard operation
test262 copied to clipboard

test/staging/built-ins/Object/seal /seal-variable-length-typed-arrays.js looks a bit incorrect

Open Constellation opened this issue 10 months ago • 1 comments
trafficstars

Object.seal will do [DefinePropertyOrThrow](https://tc39.es/ecma262/#sec-definepropertyorthrow)(O, k, PropertyDescriptor { [[Configurable]]: false }). And it should throw an error for TypedArrays since ii. If Desc has a [[Configurable]] field and Desc.[[Configurable]] is false, return false. But the test is checking it does not throw an error.

Constellation avatar Dec 23 '24 21:12 Constellation

#4352 will fix this test.

anba avatar Jan 09 '25 06:01 anba