Skip to content

Poor test coverage of Object.isExtensible with non-object argument #4981

@linusg

Description

@linusg

There are tests for this but they only check that the function doesn't throw, not whether it returns true or false:

I had a logic error in Kiesel's implementation of Object.isExtensible since day one that went unnoticed until now (likely copy/paste bug from Object.isFrozen), thanks to this test which should not pass if Promise.allKeyed is undefined:

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