mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-04 08:36:12 +00:00
LibWeb: Implement QueuingStrategy for Web::Streams::ReadableStream
This commit is contained in:
parent
e5c7d8407b
commit
4f217947b3
Notes:
sideshowbarker
2024-07-17 18:06:52 +09:00
Author: https://github.com/shannonbooth
Commit: 4f217947b3
Pull-request: https://github.com/SerenityOS/serenity/pull/19555
Reviewed-by: https://github.com/kennethmyhra ✅
Reviewed-by: https://github.com/mattco98 ✅
3 changed files with 16 additions and 10 deletions
|
@ -10,6 +10,7 @@
|
|||
#include <LibJS/Forward.h>
|
||||
#include <LibWeb/Bindings/PlatformObject.h>
|
||||
#include <LibWeb/Forward.h>
|
||||
#include <LibWeb/Streams/QueuingStrategy.h>
|
||||
|
||||
namespace Web::Streams {
|
||||
|
||||
|
@ -30,7 +31,7 @@ public:
|
|||
Errored,
|
||||
};
|
||||
|
||||
static WebIDL::ExceptionOr<JS::NonnullGCPtr<ReadableStream>> construct_impl(JS::Realm&, Optional<JS::Handle<JS::Object>> const& underlying_source);
|
||||
static WebIDL::ExceptionOr<JS::NonnullGCPtr<ReadableStream>> construct_impl(JS::Realm&, Optional<JS::Handle<JS::Object>> const& underlying_source, QueuingStrategy const& = {});
|
||||
|
||||
virtual ~ReadableStream() override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue