(stream4, pullIntoDescriptor)
| 11399 | controller._pendingPullIntos = new SimpleQueue(); |
| 11400 | } |
| 11401 | function ReadableByteStreamControllerCommitPullIntoDescriptor(stream4, pullIntoDescriptor) { |
| 11402 | let done = false; |
| 11403 | if (stream4._state === "closed") { |
| 11404 | done = true; |
| 11405 | } |
| 11406 | const filledView = ReadableByteStreamControllerConvertPullIntoDescriptor(pullIntoDescriptor); |
| 11407 | if (pullIntoDescriptor.readerType === "default") { |
| 11408 | ReadableStreamFulfillReadRequest(stream4, filledView, done); |
| 11409 | } else { |
| 11410 | ReadableStreamFulfillReadIntoRequest(stream4, filledView, done); |
| 11411 | } |
| 11412 | } |
| 11413 | function ReadableByteStreamControllerConvertPullIntoDescriptor(pullIntoDescriptor) { |
| 11414 | const bytesFilled = pullIntoDescriptor.bytesFilled; |
| 11415 | const elementSize = pullIntoDescriptor.elementSize; |
no test coverage detected
searching dependent graphs…