1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 15:17:36 +00:00

LibWeb: Add missing spec link to ReadableStreamBYOBRequest::respond

This commit is contained in:
Timothy Flynn 2024-01-29 07:26:47 -05:00 committed by Tim Flynn
parent fd316728a0
commit 3c11a1551d

View file

@ -39,6 +39,7 @@ void ReadableStreamBYOBRequest::visit_edges(Cell::Visitor& visitor)
visitor.visit(m_view);
}
// https://streams.spec.whatwg.org/#rs-byob-request-respond
WebIDL::ExceptionOr<void> ReadableStreamBYOBRequest::respond(WebIDL::UnsignedLongLong bytes_written)
{
// 1. If this.[[controller]] is undefined, throw a TypeError exception.