Skip to content

Test for interaction between scope and exception #228

@gabrielschulhof

Description

@gabrielschulhof

Enhance test/addons-napi with a test where we pass such a callback from JS into the addon that, when called, will throw. In the addon we call the JS callback from between a scope open/close. The scope close must return napi_ok. We should induce a fatal error, like an abort otherwise.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions