process: throw TypeError if kill pid not a number
Currently, invalid usage such as:
process.kill('SIGTERM') process.kill(null) process.kill(undefined);
all coerce the pid to 0, and signal the current process.
Signed-off-by: Fedor Indutny <fedor@indutny.com>
deps: backport 60c316 from v8 trunk
Original commit message:
Extend the interceptor setter ASSERT to support the JSGlobalProxy case.
BUG=v8:3463 LOG=n R=dcarney@chromium.org
Review URL: https://codereview.chromium.org/415973004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22589 ce2b1a6d-e550-0410-aec6-3dcde31c8c00...
querystring: do not add sep for empty array
Currently, stringification of an empty array outputs a singleseparator character. This commit causes an empty array to outputthe empty string.
test: fix test-https-foafssl
test: fix test-tls-server-verify
fix #7963
net: add remoteFamily for socket
tls: fix to send TLS Alert before socket destroyed
When TLS Alert is occured in handshake, ClearOut only write it intowbio and does not flush to socket. TLS Alert should be written tosocket with EncOut before socket is destroyed within its errorcallback....
gyp: fix ARM build
According to V8 changelog, `armv7` config variable was replaced by`arm_version`, with value either '7', '6' or 'default'.
Detect ARMv7 and ARMv6 CPUs and default to 'default'.
child_process: do not access stderr when stdio set to 'ignore'
Currently, checkExecSyncError() attempts to access the contentsof stderr. When stdio is set to 'ignore', this causes a crash.This commit adds a check on the access of stderr. Closes #7966....
doc: console.trace takes a message format
Documentation claimed it accepted a single label argument, as time andtimeEnd do, which was incorrect.
deps: update http_parser to 2.3.0
src: export additional startup functions
This allows embedders enough control to initialize node, run theevent loop, and cleanly exit (including calling handlers).
gyp: fix post-mortem in v0.11
Expose missing constants and keep symbols on OSX.
deps: backport 4ed5fde4f from v8 upstream
Fix x64 MathMinMax for negative untagged int32 arguments.
An untagged int32 has zeros in the upper half even if it is negative. Using cmpq to compare such numbers will incorrectly ignore the sign....
gyp: do not let `v8dbg_` slip away on osx
Pass `-force_load` to linker when linking to `libv8_base` to preserve`v8dbg_` symbols, which are useful for debugging.
tls_wrap: remove unused variable
Closes #7957.
lib: jslint string_decoder.js
stream2: flush extant data on read of ended stream
A ReadableStream with a base64 StringDecoder backed by onlyone or two bytes would fail to output its partial data beforeending. This fix adds a check to see if the `read` was triggeredby an internal `flow`, and if so, empties any remaining data....
cluster: include settings object in 'setup' event
Emits on every call to cluster.setupMaster(), even if no new settingsare given. This is because calling cluster.setupMaster() withoutarguments (or with an empty options object) results in the settingsbeing restored to their defaults....
cluster: allow multiple calls to setupMaster()
Only attributes of 'cluster.settings' will be modified after the firstcall, leaving all other cluster initialization alone. Each call thatincludes a 'settings' argument triggers a 'setup' event to be emitted....
test: fix regress-GH-1726
src: pass the v8::Context to CreateEnvironment
Pass in the v8::Context, instead of creating itwithin CreateEnvironment. This allows callersto use a pre-existing context.
child_process: copy spawnSync() cwd option to proper buffer
The spawnSync() cwd option was being copied to the incorrectlocation. This commit copies to the correct location.
Closes #7824
child_process: handle writeUtf8String error
When handling `writeUtf8String` error, return after emitting it.Otherwise a runtime failure can occur.
fix #7923
« Previous 1 2 3 4 5 ... 406 Next » (51-75/10129) Per page: 25, 50, 100
Also available in: Atom