1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 14:57:35 +00:00

LibWeb: Add ReadableStreamDefaultReader

This commit is contained in:
Matthew Olsson 2023-03-28 18:30:22 -07:00 committed by Linus Groh
parent 7ff657ef57
commit 222e3c32cd
11 changed files with 385 additions and 8 deletions

View file

@ -7,6 +7,7 @@
#include <LibWeb/Bindings/Intrinsics.h>
#include <LibWeb/Streams/AbstractOperations.h>
#include <LibWeb/Streams/ReadableStream.h>
#include <LibWeb/Streams/ReadableStreamDefaultReader.h>
#include <LibWeb/WebIDL/ExceptionOr.h>
namespace Web::Streams {
@ -37,6 +38,7 @@ void ReadableStream::visit_edges(Cell::Visitor& visitor)
Base::visit_edges(visitor);
visitor.visit(m_controller);
visitor.visit(m_stored_error);
visitor.visit(m_reader);
}
// https://streams.spec.whatwg.org/#readablestream-locked