node/test/addons/buffer-free-callback
Fedor Indutny 931118c9d7 buffer: fix assertion error in WeakCallback
`CallbackInfo` is now bound to `ArrayBuffer` instance, not `Uint8Array`,
therefore `SPREAD_ARG` will abort with:

    Assertion failed: ((object)->IsUint8Array())

Make changes necessary to migrate it to `ArrayBuffer`.

See: https://github.com/nodejs/node/pull/3080#issuecomment-147502167

Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/3329
2015-10-12 20:47:10 -07:00
..
binding.cc buffer: fix assertion error in WeakCallback 2015-10-12 20:47:10 -07:00
binding.gyp buffer: FreeCallback should be tied to ArrayBuffer 2015-10-06 18:57:46 -04:00
test.js buffer: fix assertion error in WeakCallback 2015-10-12 20:47:10 -07:00