Skip to content

Commit 38ae407

Browse files
tniessentargos
authored andcommitted
doc: fix typos in Web Streams API documentation
PR-URL: #39351 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Gus Caplan <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent ecf627a commit 38ae407

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Diff for: doc/api/webstreams.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ method to acquire the async iterator and set the `preventCancel` option to
352352
The {ReadableStream} must not be locked (that is, it must not have an existing
353353
active reader). During the async iteration, the {ReadableStream} will be locked.
354354

355-
#### Transfering with `postMessage()`
355+
#### Transferring with `postMessage()`
356356

357357
A {ReadableStream} instance can be transferred using a {MessagePort}.
358358

@@ -554,7 +554,7 @@ the pooled `Buffer` instances. When a `Buffer`, {TypedArray},
554554
or {DataView} is passed in to `readableStreamBYOBReader.read()`,
555555
the view's underlying `ArrayBuffer` is *detached*, invalidating
556556
all existing views that may exist on that `ArrayBuffer`. This
557-
can have disasterous consequences for your application.
557+
can have disastrous consequences for your application.
558558
559559
#### `readableStreamBYOBReader.releaseLock()`
560560
<!-- YAML
@@ -795,7 +795,7 @@ The `writableStream.locked` property is `false` by default, and is
795795
switched to `true` while there is an active writer attached to this
796796
`WritableStream`.
797797
798-
#### Transfering with postMessage()
798+
#### Transferring with postMessage()
799799
800800
A {WritableStream} instance can be transferred using a {MessagePort}.
801801
@@ -998,7 +998,7 @@ added: REPLACEME
998998
999999
* Type: {WritableStream}
10001000
1001-
#### Transfering with postMessage()
1001+
#### Transferring with postMessage()
10021002
10031003
A {TransformStream} instance can be transferred using a {MessagePort}.
10041004
@@ -1048,7 +1048,7 @@ added: REPLACEME
10481048
10491049
* `reason` {any}
10501050
1051-
Signals to both the readable and writable side that an error has occured
1051+
Signals to both the readable and writable side that an error has occurred
10521052
while processing the transform data, causing both sides to be abruptly
10531053
closed.
10541054

0 commit comments

Comments
 (0)