Skip to content

Distinguish between absent and inaccessible slots? #2

Description

@ljharb

Currently the proposal seems to simply say both cases throw a ReferenceError - however, there's nothing preventing an implementation from throwing a different message - ie, distinguishable error instances - in each case.

This seems like an important security consideration. Should the spec have normative text that requires implementations throw the a ReferenceError with the exact same observable characteristics?

(ping @erights)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions