Skip to content

Commit cf4508d

Browse files
Editorial: migrate WebSocket references
1 parent 21a81c6 commit cf4508d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

index.bs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ spec:infra; type:dfn; text:list
1919
spec:html; type:dfn; text:entangle
2020
spec:html; type:dfn; text:message port post message steps
2121
spec:html; type:dfn; text:port message queue
22+
# TODO: remove these once whatwg/html#7414 is merged
23+
spec:websockets; type:interface; text:WebSocket
24+
spec:websockets; type:attribute; text:bufferedAmount; for:WebSocket
2225
</pre>
2326

2427
<pre class="anchors">
@@ -7101,7 +7104,7 @@ constructors.
71017104
<h3 id="example-rs-push-no-backpressure">A readable stream with an underlying push source (no
71027105
backpressure support)</h3>
71037106

7104-
The following function creates [=readable streams=] that wrap {{WebSocket}} instances [[HTML]],
7107+
The following function creates [=readable streams=] that wrap {{WebSocket}} instances [[WEBSOCKETS]],
71057108
which are [=push sources=] that do not support backpressure signals. It illustrates how, when
71067109
adapting a push source, usually most of the work happens in the {{UnderlyingSource/start|start()}}
71077110
method.
@@ -7380,7 +7383,7 @@ the manual branching in [[#example-rbs-push]].
73807383

73817384
<h3 id="example-ws-no-backpressure">A writable stream with no backpressure or success signals</h3>
73827385

7383-
The following function returns a [=writable stream=] that wraps a {{WebSocket}} [[HTML]]. Web
7386+
The following function returns a [=writable stream=] that wraps a {{WebSocket}} [[WEBSOCKETS]]. Web
73847387
sockets do not provide any way to tell when a given chunk of data has been successfully sent
73857388
(without awkward polling of {{WebSocket/bufferedAmount}}, which we leave as an exercise to the
73867389
reader). As such, this writable stream has no ability to communicate accurate [=backpressure=]

0 commit comments

Comments
 (0)