(controller)
| 11709 | readRequest._chunkSteps(view); |
| 11710 | } |
| 11711 | function ReadableByteStreamControllerGetBYOBRequest(controller) { |
| 11712 | if (controller._byobRequest === null && controller._pendingPullIntos.length > 0) { |
| 11713 | const firstDescriptor = controller._pendingPullIntos.peek(); |
| 11714 | const view = new Uint8Array(firstDescriptor.buffer, firstDescriptor.byteOffset + firstDescriptor.bytesFilled, firstDescriptor.byteLength - firstDescriptor.bytesFilled); |
| 11715 | const byobRequest = Object.create(ReadableStreamBYOBRequest2.prototype); |
| 11716 | SetUpReadableStreamBYOBRequest(byobRequest, controller, view); |
| 11717 | controller._byobRequest = byobRequest; |
| 11718 | } |
| 11719 | return controller._byobRequest; |
| 11720 | } |
| 11721 | function ReadableByteStreamControllerGetDesiredSize(controller) { |
| 11722 | const state2 = controller._controlledReadableByteStream._state; |
| 11723 | if (state2 === "errored") { |
no test coverage detected
searching dependent graphs…