node/test
Trevor Norris 57ed3daebf buffer: fix and cleanup fill()
Running fill() with an empty string would cause Node to hang
indefinitely. Now it will return without having operated on the buffer.

User facing function has been pulled into JS to perform all initial
value checks and coercions. The C++ method has been placed on the
"internal" object.

Coerced non-string values to numbers to match v0.10 support.

Simplified logic and changed a couple variable names.

Added tests for fill() and moved them all to the beginning of
buffer-test.js since many other tests depend on fill() working properly.

Fixes: https://github.com/joyent/node/issues/8469
Signed-off-by: Trevor Norris <trev.norris@gmail.com>
2014-09-29 17:36:03 -07:00
..
addons node,async-wrap: verify domain enter/exit are set 2014-09-02 11:30:45 -07:00
debugger debugger: assign Environment to DebugContext too 2014-05-02 22:12:54 +04:00
disabled test: Remove references to customFds 2014-07-10 15:07:08 +03:00
fixtures tls: fix encoding in certificate-related functions 2014-09-15 17:42:20 +04:00
gc test: update our branched weakref to v8 3.24 2014-03-17 10:19:47 -07:00
internet dns: include host name in error message if available 2014-09-16 15:32:04 +04:00
message Merge branch 'v0.10' 2014-06-05 07:28:39 -07:00
pummel fs: fs.readFile should not throw uncaughtException 2014-08-05 16:13:07 +04:00
simple buffer: fix and cleanup fill() 2014-09-29 17:36:03 -07:00
testpy addons: build and test examples 2014-01-22 00:39:13 +04:00
timers timers: backport f8193ab 2014-07-31 08:53:24 -07:00
common.js test: fix dns test 2014-08-13 11:44:20 -07:00