Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8068f40

Browse filesBrowse files
tniessennodejs-github-bot
authored andcommitted
test: fix typos in whatwg-webstreams explanations
PR-URL: #40389 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
1 parent 92090d3 commit 8068f40
Copy full SHA for 8068f40

File tree

Expand file treeCollapse file tree

1 file changed

+8
-8
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+8
-8
lines changed
Open diff view settings
Collapse file

‎test/parallel/test-whatwg-webstreams-transfer.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-whatwg-webstreams-transfer.js
+8-8Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ const theData = 'hello';
115115
// Like the ReadableStream test above, this sets up a pipeline
116116
// through which the data flows...
117117
//
118-
// We start with WritableStream W1, which is transfered to port1.
118+
// We start with WritableStream W1, which is transferred to port1.
119119
// Doing so creates an internal ReadableStream R1 and WritableStream W2,
120120
// which are coupled together with MessagePorts P1 and P2.
121121
// The port1.onmessage callback receives WritableStream W2 and
@@ -169,25 +169,25 @@ const theData = 'hello';
169169
// We start with TransformStream T1, which creates ReadableStream R1,
170170
// and WritableStream W1.
171171
//
172-
// When T1 is transfered to port1.onmessage, R1 and W1 are individually
173-
// transfered.
172+
// When T1 is transferred to port1.onmessage, R1 and W1 are individually
173+
// transferred.
174174
//
175-
// When R1 is transfered, it creates internal WritableStream W2, and
175+
// When R1 is transferred, it creates internal WritableStream W2, and
176176
// new ReadableStream R2, coupled together via MessagePorts P1 and P2.
177177
//
178-
// When W1 is transfered, it creates internal ReadableStream R3 and
178+
// When W1 is transferred, it creates internal ReadableStream R3 and
179179
// new WritableStream W3, coupled together via MessagePorts P3 and P4.
180180
//
181181
// A new TransformStream T2 is created that owns ReadableStream R2 and
182182
// WritableStream W3. The port1.onmessage callback immediately transfers
183183
// that to port2.onmessage.
184184
//
185-
// When T2 is transfered, R2 and W3 are individually transfered.
185+
// When T2 is transferred, R2 and W3 are individually transferred.
186186
//
187-
// When R2 is transfered, it creates internal WritableStream W4, and
187+
// When R2 is transferred, it creates internal WritableStream W4, and
188188
// ReadableStream R4, coupled together via MessagePorts P5 and P6.
189189
//
190-
// When W3 is transfered, it creates internal ReadableStream R5, and
190+
// When W3 is transferred, it creates internal ReadableStream R5, and
191191
// WritableStream W5, coupled together via MessagePorts P7 and P8.
192192
//
193193
// A new TransformStream T3 is created that owns ReadableStream R4 and

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.