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

LibWeb: Add ByteStreamController to ReadableStreamController type

This commit is contained in:
Matthew Olsson 2023-04-08 12:25:32 -07:00 committed by Linus Groh
parent bd7809cc18
commit f9d6a161e8
7 changed files with 23 additions and 16 deletions

View file

@ -118,9 +118,10 @@ WebIDL::ExceptionOr<void> ReadableStreamDefaultController::pull_steps(Web::Strea
}
// https://streams.spec.whatwg.org/#abstract-opdef-readablestreamdefaultcontroller-releasesteps
void ReadableStreamDefaultController::release_steps()
WebIDL::ExceptionOr<void> ReadableStreamDefaultController::release_steps()
{
// 1. Return.
return {};
}
JS::ThrowCompletionOr<void> ReadableStreamDefaultController::initialize(JS::Realm& realm)