Skip to content

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

Merged
boingoing merged 2 commits intonodejs:api-prototype-chakracore-8.xfrom
boingoing:fix_napi_is_buffer
Mar 2, 2017
Merged

napi_is_buffer should not return an error code when it's called with a non-TypedArray object#121
boingoing merged 2 commits intonodejs:api-prototype-chakracore-8.xfrom
boingoing:fix_napi_is_buffer

Conversation

@boingoing
Copy link
Copy Markdown

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