Skip to content

spec "hosts cannot mutate" #42

Closed
Closed
@bakkot

Description

@bakkot

The essential invariants mean that a nonconfigurable-nonwritable property cannot change once observed, but strictly speaking a host could modify the values in an immutable buffer before they're observed (or if they're observed via the methods on a DataView, to which the essential invariants do not apply).

Per plenary today we should prohibit that, probably by a normative sentence along the lines of "Hosts are not permitted to modify the contents of an immutable ArrayBuffer, even if its contents have not yet been observed by a TypedArray".

Metadata

Metadata

Assignees

No one assigned

    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