From f30cffa2a22c21da5fed756749613a2b838ce413 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Nie=C3=9Fen?= Date: Sun, 11 Jul 2021 17:51:31 +0200 Subject: [PATCH] doc: fix typos in Web Streams API documentation --- doc/api/webstreams.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/api/webstreams.md b/doc/api/webstreams.md index 90667c1c1bb28c..e40850ef8531bb 100644 --- a/doc/api/webstreams.md +++ b/doc/api/webstreams.md @@ -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}. @@ -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()`