src,doc,test: Fix common misspellings

PR-URL: https://github.com/nodejs/node/pull/18151
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
This commit is contained in:
Roman Reiss 2018-01-14 22:08:46 +01:00
parent 1312db5651
commit 82b0783519
No known key found for this signature in database
GPG Key ID: 2E62B41C93869443
7 changed files with 9 additions and 9 deletions

View File

@ -1505,7 +1505,7 @@ added: v8.0.0
argument.
The `_destroy()` method is called by [`writable.destroy()`][writable-destroy].
It can be overriden by child classes but it **must not** be called directly.
It can be overridden by child classes but it **must not** be called directly.
#### writable.\_final(callback)
<!-- YAML
@ -1727,7 +1727,7 @@ added: v8.0.0
argument.
The `_destroy()` method is called by [`readable.destroy()`][readable-destroy].
It can be overriden by child classes but it **must not** be called directly.
It can be overridden by child classes but it **must not** be called directly.
#### readable.push(chunk[, encoding])
<!-- YAML

View File

@ -15,7 +15,7 @@ There are three main build files that may be directly run when building Node.js:
Makefile mentioned below is maintained separately by humans). For a detailed
guide on this script, see [configure](#configure).
- `vcbuild.bat`: A Windows Batch Script that locates build tools, provides a
subset of the targets avilable in the [Makefile](#makefile), and a few targets
subset of the targets available in the [Makefile](#makefile), and a few targets
of its own. For a detailed guide on this script, see
[vcbuild.bat](#vcbuild.bat).
- `Makefile`: A Makefile that can be run with GNU Make. It provides a set of

View File

@ -831,7 +831,7 @@ inline int Http2Session::OnBeginHeadersCallback(nghttp2_session* handle,
}
// Called by nghttp2 for each header name/value pair in a HEADERS block.
// This had to have been preceeded by a call to OnBeginHeadersCallback so
// This had to have been preceded by a call to OnBeginHeadersCallback so
// the Http2Stream is guaranteed to already exist.
inline int Http2Session::OnHeaderCallback(nghttp2_session* handle,
const nghttp2_frame* frame,
@ -2731,7 +2731,7 @@ void Http2Session::Ping(const FunctionCallbackInfo<Value>& args) {
return args.GetReturnValue().Set(false);
}
// The Ping itself is an Async resource. When the acknowledgement is recieved,
// The Ping itself is an Async resource. When the acknowledgement is received,
// the callback will be invoked and a notification sent out to JS land. The
// notification will include the duration of the ping, allowing the round
// trip to be measured.

View File

@ -94,7 +94,7 @@ assert.ok(!arg);
assert.strictEqual(code, null);
// most posix systems will show 'SIGABRT', but alpine34 does not
if (signal !== 'SIGABRT') {
console.log(`parent recived signal ${signal}\nchild's stderr:`);
console.log(`parent received signal ${signal}\nchild's stderr:`);
console.log(stderr);
process.exit(1);
}

View File

@ -652,7 +652,7 @@ internet-related tests.
A set of addresses for internet-related tests. All properties are configurable
via `NODE_TEST_*` environment variables. For example, to configure
`internet.addresses.INET_HOST`, set the environment
vairable `NODE_TEST_INET_HOST` to a specified host.
variable `NODE_TEST_INET_HOST` to a specified host.
## WPT Module

View File

@ -4,7 +4,7 @@ console.log('A message', 5);
while (t > 0) {
if (t++ === 1000) {
t = 0;
console.log(`Outputed message #${k++}`);
console.log(`Outputted message #${k++}`);
}
}
process.exit(55);

View File

@ -17,7 +17,7 @@ function waitUntilDebugged() {
// call stack depth is 0. We need a chance to call
// Debugger.setAsyncCallStackDepth *before* activating the actual timer for
// async stack traces to work. Directly using a debugger statement would be
// too brittle, and using a longer timeout would unnecesarily slow down the
// too brittle, and using a longer timeout would unnecessarily slow down the
// test on most machines. Triggering a debugger break through an interval is
// a faster and more reliable way.
process._rawDebug('Signal received, waiting for debugger setup');