@@ -5215,7 +5215,7 @@ The following abstract operations support the implementaiton of the
5215
5215
5216
5216
<div algorithm>
5217
5217
<dfn abstract-op lt="TransformStreamDefaultControllerEnqueue"
5218
- id="set-up- transform-stream-default-controller-enqueue"
5218
+ id="transform-stream-default-controller-enqueue"
5219
5219
export> TransformStreamDefaultControllerEnqueue(|controller|, |chunk|)</dfn> is meant to be called
5220
5220
by other specifications that wish to enqueue [=chunks=] in the [=readable side=] , in the same way
5221
5221
a developer would enqueue chunks using the stream's associated controller object. Specifications
@@ -5241,7 +5241,7 @@ The following abstract operations support the implementaiton of the
5241
5241
</div>
5242
5242
<div algorithm>
5243
5243
<dfn abstract-op lt="TransformStreamDefaultControllerError"
5244
- id="set-up- transform-stream-default-controller-error"
5244
+ id="transform-stream-default-controller-error"
5245
5245
export> TransformStreamDefaultControllerError(|controller|, |e|)</dfn> is meant to be called by
5246
5246
other specifications that wish to move the transform stream to an errored state, in the same way a
5247
5247
developer would error the stream using the stream's associated controller object. Specifications
@@ -5254,7 +5254,7 @@ The following abstract operations support the implementaiton of the
5254
5254
5255
5255
<div algorithm>
5256
5256
<dfn abstract-op lt="TransformStreamDefaultControllerPerformTransform"
5257
- id="set-up- transform-stream-default-controller-perform-transform"> TransformStreamDefaultControllerPerformTransform(|controller|, |chunk|)</dfn>
5257
+ id="transform-stream-default-controller-perform-transform"> TransformStreamDefaultControllerPerformTransform(|controller|, |chunk|)</dfn>
5258
5258
performs the following steps:
5259
5259
5260
5260
1. Let |transformPromise| be the result of performing
@@ -5267,7 +5267,7 @@ The following abstract operations support the implementaiton of the
5267
5267
5268
5268
<div algorithm>
5269
5269
<dfn abstract-op lt="TransformStreamDefaultControllerTerminate"
5270
- id="set-up- transform-stream-default-controller-terminate"
5270
+ id="transform-stream-default-controller-terminate"
5271
5271
export> TransformStreamDefaultControllerTerminate(|controller|)</dfn> is meant to be called by
5272
5272
other specifications that wish to terminate the transform stream, in the same way a
5273
5273
developer-created stream would be terminated by its associated controller object. Specifications
@@ -5328,9 +5328,7 @@ side=] of [=transform streams=].
5328
5328
1. Return the result of [=reacting=] to |flushPromise|:
5329
5329
1. If |flushPromise| was fulfilled, then:
5330
5330
1. If |readable|.\[[state]] is "`errored`", throw |readable|.\[[storedError]] .
5331
- 1. Let |readableController| be |readable|.\[[readableStreamController]] .
5332
- 1. If ! [$ReadableStreamDefaultControllerCanCloseOrEnqueue$] (|readableController|) is true,
5333
- perform ! [$ReadableStreamDefaultControllerClose$] (|readableController|).
5331
+ 1. Perform ! [$ReadableStreamDefaultControllerClose$] (|readable|.\[[readableStreamController]] ).
5334
5332
1. If |flushPromise| was rejected with reason |r|, then:
5335
5333
1. Perform ! [$TransformStreamError$] (|stream|, |r|).
5336
5334
1. Throw |readable|.\[[storedError]] .
0 commit comments