Re: How to reliably make an ArrayBufferView wrapped?

Skip to first unread message

Emilio Cobos Álvarez

Mar 25, 2019, 4:38:34 AM3/25/19
+dev-tech-js-engine-internals, where relevant people are more likely to
see it :)

On 25/03/2019 09:22, wrote:
> When solving this bug I need to write a test. The bug is basically caused by overlooking the possible wrapper around an ArrayBufferView that is checked by JS_IsArrayBufferViewObject().
> See, the check will return true if canUnwrapAs<ArrayBufferViewObject>(), it's possible that the object itself is not an ArrayBufferView.
> In the test, I want to make sure the object is indeed a wrapped one. Is there a reliable way to write JavaScript code to achieve this?
> Thanks!
> _______________________________________________
> dev-platform mailing list
Reply all
Reply to author
0 new messages