1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:17:35 +00:00

LibWeb: Implement ReadableStream's constructor

This commit is contained in:
Matthew Olsson 2023-03-28 19:11:22 -07:00 committed by Linus Groh
parent 66dec1bf54
commit d8710aa604
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;