0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test
Ben Noordhuis ee9cd004d8 lib: fix TypeError with EventEmitter#on() abuse
Commit 2931348 added EventEmitter#getMaxListeners() but introduced a
regression when people abuse EventEmitter.prototype.on.call() to call
EventEmitter#on() on a non-EE object.  Add a workaround for that.

Fixes: https://github.com/iojs/io.js/issues/523
PR-URL: https://github.com/iojs/io.js/pull/527
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2015-01-20 23:25:57 +01:00
..
addons Remove excessive copyright/license boilerplate 2015-01-12 15:30:28 -08:00
debugger Remove excessive copyright/license boilerplate 2015-01-12 15:30:28 -08:00
disabled Remove excessive copyright/license boilerplate 2015-01-12 15:30:28 -08:00
fixtures Remove excessive copyright/license boilerplate 2015-01-12 15:30:28 -08:00
gc
internet Remove excessive copyright/license boilerplate 2015-01-12 15:30:28 -08:00
message test: fix message tests regression 2015-01-13 01:50:32 +01:00
parallel lib: fix TypeError with EventEmitter#on() abuse 2015-01-20 23:25:57 +01:00
pummel Remove excessive copyright/license boilerplate 2015-01-12 15:30:28 -08:00
sequential test: move sequential/test-debug-port-from-cmdline 2015-01-19 19:30:04 +01:00
testpy test: fix make test-addons target 2015-01-12 23:21:51 +01:00
timers test: make test runner multi-arch/mode compatible 2014-10-16 22:39:34 +02:00
common.js test: check for multi-localhost support 2015-01-13 03:28:31 +01:00