LibWeb: Implement ReadableStream's constructor

This commit is contained in:
Matthew Olsson 2023-03-28 19:11:22 -07:00 committed by Linus Groh
commit d8710aa604
Notes: sideshowbarker 2024-07-17 11:30:54 +09:00
5 changed files with 160 additions and 3 deletions

View file

@ -32,7 +32,7 @@ public:
Errored,
};
static WebIDL::ExceptionOr<JS::NonnullGCPtr<ReadableStream>> construct_impl(JS::Realm&);
static WebIDL::ExceptionOr<JS::NonnullGCPtr<ReadableStream>> construct_impl(JS::Realm&, Optional<JS::Handle<JS::Object>> const& underlying_source);
virtual ~ReadableStream() override;