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
Notes: sideshowbarker 2024-07-17 08:55:54 +09:00
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