@@ -19,6 +19,9 @@ spec:infra; type:dfn; text:list
1919spec:html; type:dfn; text:entangle
2020spec:html; type:dfn; text:message port post message steps
2121spec: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
71027105backpressure 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 ]] ,
71057108which are [=push sources=] that do not support backpressure signals. It illustrates how, when
71067109adapting a push source, usually most of the work happens in the {{UnderlyingSource/start|start()}}
71077110method.
@@ -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
73847387sockets 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
73867389reader). As such, this writable stream has no ability to communicate accurate [=backpressure=]
0 commit comments