node/test
Trevor Norris f218d94af4 handle_wrap: properly don't abort on unwrap
From commit 756ae2c all the WRAP/UNWRAP were moved to a single location
for ease of use. In a single location NO_ABORT should have been used but
wasn't. This caused HandleWrap::Close to abort. Below is the applicable
code change as demonstration there was no abort specified when
unwrapping the object.

 void HandleWrap::Close(const FunctionCallbackInfo<Value>& args) {
    HandleScope scope(node_isolate);

     -  HandleWrap *wrap = static_cast<HandleWrap*>(
     -      args.This()->GetAlignedPointerFromInternalField(0));
     +  HandleWrap* wrap;
     +  UNWRAP(args.This(), HandleWrap, wrap);

Also included a test that will reproduce the abort.
2013-09-05 15:56:34 -07:00
..
addons test: modify async native test.js to test for #4820 2013-02-21 13:14:07 -08:00
disabled fixes #6031 spelling errors 2013-08-19 16:42:16 -07:00
fixtures src: break on uncaught exception 2013-06-26 19:54:31 +02:00
gc test: fix up weakref.cc after v8 api change 2013-07-06 17:44:45 +02:00
internet test: fix up internet/test-dns after api change 2013-08-12 17:33:59 +02:00
message vm: update API to use options argument 2013-08-28 22:27:24 -07:00
pummel test: move slow test from simple/ to pummel/ 2013-09-05 21:04:31 +02:00
simple handle_wrap: properly don't abort on unwrap 2013-09-05 15:56:34 -07:00
common.js test: optionally set common.PORT via env variable 2013-03-02 19:09:39 +01:00