node/test
Ben Noordhuis 22533c035d timers: fix setInterval() assert
Test case:

  var t = setInterval(function() {}, 1);
  process.nextTick(t.unref);

Output:

  Assertion failed: (args.Holder()->InternalFieldCount() > 0),
  function Unref, file ../src/handle_wrap.cc, line 78.

setInterval() returns a binding layer object. Make it stop doing that,
wrap the raw process.binding('timer_wrap').Timer object in a Timeout
object.

Fixes #4261.
2013-05-16 00:02:54 +02:00
..
addons test: modify async native test.js to test for #4820 2013-02-21 13:14:07 -08:00
disabled Merge remote-tracking branch 'ry/v0.8' into master 2013-02-18 10:21:08 -08:00
fixtures debugger: breakpoints in scripts not loaded yet 2013-05-02 08:52:58 +02:00
gc test: use the debug build of node-weak when necessary 2012-06-13 17:58:28 -07:00
internet DNS: Support NAPTR queries 2013-03-06 14:31:22 +04:00
message process: separate nextTick domain logic 2013-02-27 16:37:10 -08:00
pummel test: fix pummel/test-net-many-clients.js 2013-05-08 19:31:45 -07:00
simple timers: fix setInterval() assert 2013-05-16 00:02:54 +02:00
common.js test: optionally set common.PORT via env variable 2013-03-02 19:09:39 +01:00