Skip to content

Promise subclassing should throw errors. #710

Open
@aapoalas

Description

@aapoalas

We panic at nova_vm/src/ecmascript/builtins/control_abstraction_objects/promise_objects/promise_constructor.rs:126:9:, nova_vm/src/ecmascript/builtins/control_abstraction_objects/promise_objects/promise_constructor.rs:247:9:, 279, 313, and 370 on assertions; we should change these to throw errors instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions