James M Snell
abc2ff47c2
test: disable test-crypto-secure-heap with asan
...
The asan checks don't play well currently with persistent secure
heap allocations.
Signed-off-by: James M Snell <jasnell@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/36900
Refs: https://github.com/nodejs/node/pull/36881
Reviewed-By: Danielle Adams <adamzdanielle@gmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
2021-01-12 17:55:55 -05:00
Guy Bedford
05f34c6963
doc: define "browser", "production", "development"
...
Defines the above exports conditions by convention
as well as some guidance for further conditions
definitions in future
PR-URL: https://github.com/nodejs/node/pull/36856
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com >
2021-01-12 17:55:54 -05:00
ExE Boss
1db3772c95
lib: simplify primordials.uncurryThis
...
PR-URL: https://github.com/nodejs/node/pull/36866
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Pooja D P <Pooja.D.P@ibm.com >
2021-01-12 17:55:54 -05:00
Guy Bedford
01213c71b9
module: fix Windows folder exports deprecation warning
...
PR-URL: https://github.com/nodejs/node/pull/36859
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com >
Reviewed-By: Myles Borins <myles.borins@gmail.com >
2021-01-12 17:55:53 -05:00
Dimitris Halatsis
17a52337c4
test: http complete response after socket double end
...
PR-URL: https://github.com/nodejs/node/pull/36633
Fixes: https://github.com/nodejs/node/issues/36620
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Danielle Adams <adamzdanielle@gmail.com >
2021-01-12 07:11:45 -05:00
Robert Nagy
a9a2dd32e3
http: don't cork noop .end()
...
Calling .end() a second time should be a noop and not
leave the socket corked.
Fixes: https://github.com/nodejs/node/issues/36620
PR-URL: https://github.com/nodejs/node/pull/36633
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Danielle Adams <adamzdanielle@gmail.com >
2021-01-12 07:11:45 -05:00
Rich Trott
e8bb1f7350
doc: clarify event.isTrusted text
...
PR-URL: https://github.com/nodejs/node/pull/36827
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-01-12 07:11:44 -05:00
Robert Nagy
abae61e230
stream: finished waits for 'close' on OutgoingMessage
...
Don't invoke finished callback until OutgoingMessagehas
emitted 'close'.
PR-URL: https://github.com/nodejs/node/pull/36648
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-01-12 07:11:44 -05:00
Pooja D P
cc37ff24dc
test: use faster variant for rss in test-crypto-dh-leak
...
PR-URL: https://github.com/nodejs/node/pull/36766
Refs: https://github.com/nodejs/node/pull/34291
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Michael Dawson <midawson@redhat.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-01-12 07:11:43 -05:00
Pooja D P
daad0ab1cc
test: use faster variant for rss in test-vm-memleak.js
...
PR-URL: https://github.com/nodejs/node/pull/36769
Refs: https://github.com/nodejs/node/pull/34291
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-01-12 07:11:43 -05:00
James M Snell
53cf996270
crypto: implement basic secure heap support
...
Adds two new command line arguments:
* `--secure-heap=n`, which causes node.js to initialize
an openssl secure heap of `n` bytes on openssl initialization.
* `--secure-heap-min=n`, which specifies the minimum allocation
from the secure heap.
* A new method `crypto.secureHeapUsed()` that returns details
about the total and used secure heap allocation.
The secure heap is an openssl feature that allows certain kinds
of potentially sensitive information (such as private key
BigNums) to be allocated from a dedicated memory area that is
protected against pointer over- and underruns.
The secure heap is a fixed size, so it's important that users
pick a large enough size to cover the crypto operations they
intend to utilize.
The secure heap is disabled by default.
Signed-off-by: James M Snell <jasnell@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/36779
Refs: https://github.com/nodejs/node/pull/36729
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2021-01-12 07:11:43 -05:00
James M Snell
42aca13953
crypto: fixup bug in keygen error handling
...
Signed-off-by: James M Snell <jasnell@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/36779
Refs: https://github.com/nodejs/node/pull/36729
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
2021-01-12 07:11:42 -05:00
Robert Nagy
4c819d65f9
stream: fix .end() error propagation
...
PR-URL: https://github.com/nodejs/node/pull/36817
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
2021-01-12 07:11:42 -05:00
Ruy Adorno
1c9ec2529e
deps: upgrade npm to 7.4.0
...
PR-URL: https://github.com/nodejs/node/pull/36829
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Myles Borins <myles.borins@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
2021-01-12 07:11:41 -05:00
Antoine du Hamel
c23cca2de9
tls: refactor to avoid unsafe array iteration
...
PR-URL: https://github.com/nodejs/node/pull/36772
Reviewed-By: Rich Trott <rtrott@gmail.com >
2021-01-12 07:11:40 -05:00
Michaël Zasso
37becfda8c
tools: update all lint-md rollup dependencies
...
PR-URL: https://github.com/nodejs/node/pull/36843
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2021-01-12 07:11:40 -05:00
ZiJian Liu and Antoine du Hamel
3fa470a3c9
events: refactor to use optional chaining
...
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/36763
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2021-01-12 07:11:40 -05:00
raisinten and Antoine du Hamel
21f329532f
build: refactor Makefile
...
* add character classes
* replace echo -n with printf
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/36759
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2021-01-12 07:11:39 -05:00
Ouyang Yadong
54bd4ab855
cluster: fix edge cases that throw ERR_INTERNAL_ASSERTION
...
Some cases use both `cluster` and `net`/`cluser` will throw
ERR_INTERNAL_ASSERTION when `listen`/`bind` to the port of `0`. This
PR maitains a separate map of the index to fix the issue. See the new
tests added for the detail cases.
PR-URL: https://github.com/nodejs/node/pull/36764
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2021-01-12 07:11:36 -05:00
Michaël Zasso
ff5bd04900
deps: update nghttp2 to 1.42.0
...
Refs: https://github.com/nghttp2/nghttp2/releases/tag/v1.42.0
PR-URL: https://github.com/nodejs/node/pull/36842
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2021-01-12 07:10:58 -05:00
Michaël Zasso
cfdbb79ccf
tools: update doc tool dependencies
...
PR-URL: https://github.com/nodejs/node/pull/36844
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-01-12 07:10:57 -05:00
Rich Trott
3ca7a786c5
benchmark: fix http2 benchmarks
...
Fixes: https://github.com/nodejs/node/issues/36746
PR-URL: https://github.com/nodejs/node/pull/36871
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
2021-01-12 07:10:57 -05:00
Momtchil Momtchev
cb0b53edb1
stream: lazy read ReadStream
...
Using stream._construct would cause the Readable
to incorrectly greedily start reading.
Fixes: https://github.com/nodejs/node/issues/36251
PR-URL: https://github.com/nodejs/node/pull/36823
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
2021-01-12 07:10:56 -05:00
Antoine du Hamel
0c11a17d82
console: refactor to avoid unsafe array iteration
...
PR-URL: https://github.com/nodejs/node/pull/36753
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-01-12 07:10:56 -05:00
Yash Ladha
95219eac08
lib: refactor to use mapping in cluster master
...
Cluster master message handler is basically doing the same thing for
different message actions which can be avoided. Thus move to method
mapping object and doing a single lookup to find the function to execute
and it doesnot exists, skip the execution chain.
PR-URL: https://github.com/nodejs/node/pull/36250
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-01-12 07:10:56 -05:00
Bruce A. MacNaughton
153be6c80e
doc: fix module syncBuiltinESMExports example
...
Fix failing code and add explanations of each assert.
PR-URL: https://github.com/nodejs/node/pull/34284
Reviewed-By: Guy Bedford <guybedford@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2021-01-12 07:10:55 -05:00
Rohan Chougule
b6f74b0b09
zlib: refactor to use primordial instead of <string>.startsWith
...
PR-URL: https://github.com/nodejs/node/pull/36718
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Pooja D P <Pooja.D.P@ibm.com >
2021-01-12 07:10:55 -05:00
Ikko Ashimine
d70824f567
src: fix typo in crypto_aes.cc
...
concatentated -> concatenated
PR-URL: https://github.com/nodejs/node/pull/36717
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Pooja D P <Pooja.D.P@ibm.com >
Reviewed-By: Michael Dawson <midawson@redhat.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
2021-01-12 07:10:55 -05:00
Nicholas Schamberg
3b64b38142
doc: os.uptime() temporary bug notice
...
Makes it clear that os.uptime() is unreliable in some virtualization
cases.
PR-URL: https://github.com/nodejs/node/pull/36503
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-01-12 07:10:54 -05:00
Danielle Adams
da49624a46
doc: update release key for Danielle Adams
...
PR-URL: https://github.com/nodejs/node/pull/36793
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Beth Griggs <bgriggs@redhat.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-01-12 07:10:54 -05:00
ZiJian Liu
8e8b16ff7e
timers: refactor to use optional chaining
...
PR-URL: https://github.com/nodejs/node/pull/36767
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-01-12 07:10:54 -05:00
ZiJian Liu
24246a29d7
net: throw ERR_OUT_OF_RANGE if blockList.addSubnet prefix is NaN
...
Fixes: https://github.com/nodejs/node/issues/36731
PR-URL: https://github.com/nodejs/node/pull/36732
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-01-12 07:10:53 -05:00
ugultopu
2d8423da3c
doc: clarify child_process.exec inherits cwd
...
PR-URL: https://github.com/nodejs/node/pull/36809
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Pooja D P <Pooja.D.P@ibm.com >
Reviewed-By: Yash Ladha <yash@yashladha.in >
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-01-12 07:10:53 -05:00
James M Snell
c4ad50e0ff
crypto: introduce X509Certificate API
...
Introduces the `crypto.X509Certificate` object.
```js
const { X509Certificate } = require('crypto');
const x509 = new X509Certificate('{pem encoded cert}');
console.log(x509.subject);
```
Fixes: https://github.com/nodejs/node/issues/29181
Signed-off-by: James M Snell <jasnell@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/36804
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
2021-01-12 07:10:52 -05:00
Isaac Levy
41e278bf61
docs: add references to punycode.md
...
Add references to related `url` functions in punycode.md. These provide
guidance to users who may be investigating the punycode module for URL
encoding.
PR-URL: https://github.com/nodejs/node/pull/36761
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Yash Ladha <yash@yashladha.in >
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-01-12 07:10:52 -05:00
Antoine du Hamel
9b9b6d5fc5
domain: make node resilient to Array prototype tempering
...
Fixes: https://github.com/nodejs/node/issues/36669
PR-URL: https://github.com/nodejs/node/pull/36676
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2021-01-12 07:10:52 -05:00
James M Snell
94afc3e712
process: passing -1 to setuid/setgid should not abort
...
Fixes: https://github.com/nodejs/node/issues/32750
Signed-off-by: James M Snell <jasnell@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/36786
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Harshitha K P <harshitha014@gmail.com >
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com >
2021-01-12 07:10:51 -05:00
James M Snell
1a4d34ebd0
doc: clarify descriptions of _writev chunks argument
...
Fixes: https://github.com/nodejs/node/issues/36789
Signed-off-by: James M Snell <jasnell@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/36822
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com >
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com >
2021-01-12 07:10:51 -05:00
Rohan Chougule
a38ad0709c
http2: refactor to use primordials instead of <string>.indexOf
...
PR-URL: https://github.com/nodejs/node/pull/36679
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Zeyu Yang <himself65@outlook.com >
Reviewed-By: Pooja D P <Pooja.D.P@ibm.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2021-01-12 07:10:51 -05:00
Michaël Zasso
7c7180a6f7
doc: document buffer's "Uint" aliases clearly
...
Fixes: https://github.com/nodejs/node/issues/36751
PR-URL: https://github.com/nodejs/node/pull/36796
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Harshitha K P <harshitha014@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
2021-01-12 07:10:50 -05:00
James M Snell
9d25d25cfd
test: mark test-cluster-bind-privileged-port flaky on arm
...
Per rvagg:
```
Persistent failure, even after restarts of the whole cluster. #36478 was
merged into this test yesterday but the parent commit still has the
failures.
What has changed is the Docker version. They all got an upgrade to
5:20.10.2~3-0~raspbian-buster and this is all running inside containers.
It's going to be the newest version of Docker running in our CI and I
wonder whether we're going to see similar failures when we upgrade other
hosts or if this is going to be restricted to ARM.
Other than that, I'm not sure what this could be. It seems like a
straightforward test that shouldn't fail, maybe Docker has introduced
something new for unprivileged port binding inside containers?
```
Signed-off-by: James M Snell <jasnell@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/36850
Refs: https://github.com/nodejs/node/issues/36847
Reviewed-By: Michael Dawson <midawson@redhat.com >
Reviewed-By: Mary Marchini <oss@mmarchini.me >
2021-01-12 07:10:50 -05:00
Pooja D P
c64db20fdd
test: use faster variant for rss test-memoryusage-emfile
...
PR-URL: https://github.com/nodejs/node/pull/36768
Refs: https://github.com/nodejs/node/pull/34291
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Michael Dawson <midawson@redhat.com >
2021-01-12 07:10:50 -05:00
Daniele Belardi
ff6edbc6b2
doc: add dnlup to collaborators
...
PR-URL: https://github.com/nodejs/node/pull/36849
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Ash Cripps <acripps@redhat.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2021-01-12 07:10:49 -05:00
Rich Trott
835bdf0e50
doc: improve crypto.randomUUID() text
...
* Use present tense.
* Remove "persistently" which suggests that the cache persists across
Node.js runs.
* Remove "pre-emptively". I think "proactively" is what was meant as
nothing is being pre-empted here. Regardless of what the adverby
should be, it seems unnecessary.
PR-URL: https://github.com/nodejs/node/pull/36830
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com >
2021-01-12 07:10:49 -05:00
James M Snell
d4bcb3689d
doc: clarify subprocess.stdout/in/err/io properties
...
The various `subprocess.stdwhatever` properties can be null or
undefined in certain conditions.
Fixes: https://github.com/nodejs/node/issues/33458
Signed-off-by: James M Snell <jasnell@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/36784
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2021-01-12 07:10:48 -05:00
James M Snell
4e4deca90d
crypto: implement randomuuid
...
Signed-off-by: James M Snell <jasnell@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/36729
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: Ben Coe <bencoe@gmail.com >
2021-01-12 07:10:48 -05:00
Ajay Poshak and Antoine du Hamel
a956fb3fdd
doc: add dark mode
...
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/36313
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2021-01-12 07:10:48 -05:00
Rich Trott
757b9664cd
doc: revise method text in async_hooks.md
...
Fix two typographical errors ("This methods") and general minor edits
around the use of the word "method" in async_hooks.md.
PR-URL: https://github.com/nodejs/node/pull/36736
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Harshitha K P <harshitha014@gmail.com >
2021-01-12 07:10:47 -05:00
Rich Trott
4601886d7c
benchmark: fix http/headers.js with test-double
...
The http/headers.js benchmark fails if wrk or autocannon are not
installed. This is because the benchmark exceeds the default permissible
length for HTTP headers. Reduce the largest benchmarks to fit within the
8192 default as that is what we should be optimizing for.
Fixes: https://github.com/nodejs/node/issues/31022
PR-URL: https://github.com/nodejs/node/pull/36794
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com >
2021-01-12 07:10:47 -05:00
James M Snell
b4091ea59b
doc: clarify when messageerror is emitted
...
Adapting addaleax's explanation from the issue.
Fixes: https://github.com/nodejs/node/issues/36333
Signed-off-by: James M Snell <jasnell@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/36780
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
2021-01-12 07:10:46 -05:00