1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 05:08:13 +00:00

LibWeb: Add missing AOs for ReadableByteStreamController.[[PullSteps]]

This commit is contained in:
Matthew Olsson 2023-04-09 10:26:13 -07:00 committed by Andreas Kling
parent b57b3c54cc
commit ef3810d03d
3 changed files with 165 additions and 11 deletions

View file

@ -101,9 +101,8 @@ WebIDL::ExceptionOr<void> ReadableByteStreamController::pull_steps(NonnullRefPtr
// 6. Perform ! ReadableStreamAddReadRequest(stream, readRequest).
readable_stream_add_read_request(*m_stream, read_request);
// FIXME: 7. Perform ! ReadableByteStreamControllerCallPullIfNeeded(this).
return {};
// 7. Perform ! ReadableByteStreamControllerCallPullIfNeeded(this).
return readable_byte_stream_controller_call_pull_if_needed(*this);
}
// https://streams.spec.whatwg.org/#rbs-controller-private-pull