Skip to content

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

Open
@Constellation

Description

@Constellation

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions