Skip to content

Commit

Permalink
doc: fix typos in Web Streams API documentation
Browse files Browse the repository at this point in the history
PR-URL: #39351
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information
tniessen authored and targos committed Jul 13, 2021
1 parent ecf627a commit 38ae407
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions doc/api/webstreams.md
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ method to acquire the async iterator and set the `preventCancel` option to
The {ReadableStream} must not be locked (that is, it must not have an existing
active reader). During the async iteration, the {ReadableStream} will be locked.

#### Transfering with `postMessage()`
#### Transferring with `postMessage()`

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

Expand Down Expand Up @@ -554,7 +554,7 @@ the pooled `Buffer` instances. When a `Buffer`, {TypedArray},
or {DataView} is passed in to `readableStreamBYOBReader.read()`,
the view's underlying `ArrayBuffer` is *detached*, invalidating
all existing views that may exist on that `ArrayBuffer`. This
can have disasterous consequences for your application.
can have disastrous consequences for your application.
#### `readableStreamBYOBReader.releaseLock()`
<!-- YAML
Expand Down Expand Up @@ -795,7 +795,7 @@ The `writableStream.locked` property is `false` by default, and is
switched to `true` while there is an active writer attached to this
`WritableStream`.
#### Transfering with postMessage()
#### Transferring with postMessage()
A {WritableStream} instance can be transferred using a {MessagePort}.
Expand Down Expand Up @@ -998,7 +998,7 @@ added: REPLACEME
* Type: {WritableStream}
#### Transfering with postMessage()
#### Transferring with postMessage()
A {TransformStream} instance can be transferred using a {MessagePort}.
Expand Down Expand Up @@ -1048,7 +1048,7 @@ added: REPLACEME
* `reason` {any}
Signals to both the readable and writable side that an error has occured
Signals to both the readable and writable side that an error has occurred
while processing the transform data, causing both sides to be abruptly
closed.
Expand Down

0 comments on commit 38ae407

Please sign in to comment.