node/lib
Ruben Bridgewater c6b6c92185
lib: always show ERR_INVALID_ARG_TYPE received part
This makes a effort to make sure all of these errors will actually
also show the received input.
On top of that it refactors a few tests for better maintainability.
It will also change the returned type to always be a simple typeof
instead of special handling null.

PR-URL: https://github.com/nodejs/node/pull/19445
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
2018-03-25 01:45:37 +01:00
..
fs lib: always show ERR_INVALID_ARG_TYPE received part 2018-03-25 01:45:37 +01:00
internal lib: always show ERR_INVALID_ARG_TYPE received part 2018-03-25 01:45:37 +01:00
_http_agent.js async_hooks,process: remove internalNextTick 2018-03-08 13:23:44 +01:00
_http_client.js tools,lib: forbid native Error constructors 2018-03-21 20:15:33 +01:00
_http_common.js http: simplify checkInvalidHeaderChar 2018-02-16 19:27:28 +01:00
_http_incoming.js http: do not replace .read() in IncomingMessage 2018-02-27 12:26:40 +01:00
_http_outgoing.js lib: always show ERR_INVALID_ARG_TYPE received part 2018-03-25 01:45:37 +01:00
_http_server.js lib: port remaining errors to new system 2018-03-07 14:54:38 +01:00
_stream_duplex.js stream: make Duplex inherits from DuplexBase 2018-03-07 16:05:17 +01:00
_stream_passthrough.js
_stream_readable.js lib: always show ERR_INVALID_ARG_TYPE received part 2018-03-25 01:45:37 +01:00
_stream_transform.js stream: make virtual methods errors consistent 2018-03-12 14:24:34 +01:00
_stream_wrap.js
_stream_writable.js lib: always show ERR_INVALID_ARG_TYPE received part 2018-03-25 01:45:37 +01:00
_tls_common.js lib: always show ERR_INVALID_ARG_TYPE received part 2018-03-25 01:45:37 +01:00
_tls_wrap.js lib: always show ERR_INVALID_ARG_TYPE received part 2018-03-25 01:45:37 +01:00
.eslintrc.yaml tools,lib: forbid native Error constructors 2018-03-21 20:15:33 +01:00
assert.js tools,lib: forbid native Error constructors 2018-03-21 20:15:33 +01:00
async_hooks.js lib: always show ERR_INVALID_ARG_TYPE received part 2018-03-25 01:45:37 +01:00
buffer.js lib: always show ERR_INVALID_ARG_TYPE received part 2018-03-25 01:45:37 +01:00
child_process.js tools,lib: forbid native Error constructors 2018-03-21 20:15:33 +01:00
cluster.js
console.js console: port errors to new system 2018-02-22 13:36:22 +00:00
constants.js
crypto.js lib: port errors to new system 2018-03-05 19:51:30 +01:00
dgram.js lib: always show ERR_INVALID_ARG_TYPE received part 2018-03-25 01:45:37 +01:00
dns.js lib: port errors to new system 2018-03-05 19:51:30 +01:00
domain.js tools,lib: forbid native Error constructors 2018-03-21 20:15:33 +01:00
events.js lib: always show ERR_INVALID_ARG_TYPE received part 2018-03-25 01:45:37 +01:00
fs.js fs,net: emit 'ready' for fs streams and sockets 2018-03-23 13:33:55 +01:00
http2.js
http.js http: use more destructuring 2018-03-22 16:23:06 +01:00
https.js lib: port errors to new system 2018-03-05 19:51:30 +01:00
inspector.js inspector: migrate errors from C++ to JS 2018-03-22 08:24:31 +01:00
module.js lib: add back lib/module.js redirection 2018-03-15 20:50:35 +08:00
net.js fs,net: emit 'ready' for fs streams and sockets 2018-03-23 13:33:55 +01:00
os.js lib,src: audit process.env in lib/ for setuid binary 2018-02-16 17:42:21 +01:00
path.js lib: always show ERR_INVALID_ARG_TYPE received part 2018-03-25 01:45:37 +01:00
perf_hooks.js lib: always show ERR_INVALID_ARG_TYPE received part 2018-03-25 01:45:37 +01:00
process.js
punycode.js
querystring.js lib: port errors to new system 2018-03-05 19:51:30 +01:00
readline.js lib: port errors to new system 2018-03-05 19:51:30 +01:00
repl.js lib: restructure cjs and esm loaders 2018-03-15 20:50:35 +08:00
stream.js tools: non-Ascii linter for /lib only 2018-02-04 16:55:13 +01:00
string_decoder.js lib: always show ERR_INVALID_ARG_TYPE received part 2018-03-25 01:45:37 +01:00
sys.js
timers.js lib: port errors to new system 2018-03-05 19:51:30 +01:00
tls.js lib: port errors to new system 2018-03-05 19:51:30 +01:00
tty.js lib: port errors to new system 2018-03-05 19:51:30 +01:00
url.js url: remove redundant function 2018-03-23 13:01:47 +01:00
util.js lib: always show ERR_INVALID_ARG_TYPE received part 2018-03-25 01:45:37 +01:00
v8.js lib: always show ERR_INVALID_ARG_TYPE received part 2018-03-25 01:45:37 +01:00
vm.js vm: migrate isContext to internal/errors 2018-03-22 15:54:52 +01:00
zlib.js lib: always show ERR_INVALID_ARG_TYPE received part 2018-03-25 01:45:37 +01:00