Skip to content

napi_is_buffer should not return an error code when it's called with a non-TypedArray object #121

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

boingoing
Copy link

This is currently returning invalid argument which breaks most of the return-check macros we're using. The api napi_is_buffer should return false with no error if it's called with a non-TypedArray object.

jasongin

This comment was marked as off-topic.

@boingoing boingoing merged commit 4a0e7d5 into nodejs:api-prototype-chakracore-8.x Mar 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants