(controller, error)
| 3365 | } |
| 3366 | |
| 3367 | function readableByteStreamControllerError(controller, error) { |
| 3368 | const { |
| 3369 | stream, |
| 3370 | } = controller[kState]; |
| 3371 | if (stream[kState].state !== 'readable') |
| 3372 | return; |
| 3373 | readableByteStreamControllerClearPendingPullIntos(controller); |
| 3374 | resetQueue(controller); |
| 3375 | readableByteStreamControllerClearAlgorithms(controller); |
| 3376 | readableStreamError(stream, error); |
| 3377 | } |
| 3378 | |
| 3379 | function readableByteStreamControllerCancelSteps(controller, reason) { |
| 3380 | readableByteStreamControllerClearPendingPullIntos(controller); |
no test coverage detected
searching dependent graphs…