mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-12 04:22:28 +00:00
LibWeb: Implement ReadableByteStreamController.[[CancelSteps]]
This commit is contained in:
parent
8274906301
commit
c97f6b7701
Notes:
sideshowbarker
2024-07-16 21:28:51 +09:00
Author: https://github.com/mattco98
Commit: c97f6b7701
Pull-request: https://github.com/SerenityOS/serenity/pull/18297
Reviewed-by: https://github.com/linusg
5 changed files with 68 additions and 0 deletions
|
@ -8,6 +8,8 @@
|
|||
|
||||
#include <LibJS/Runtime/TypedArray.h>
|
||||
#include <LibWeb/Bindings/PlatformObject.h>
|
||||
#include <LibWeb/Forward.h>
|
||||
#include <LibWeb/Streams/ReadableByteStreamController.h>
|
||||
|
||||
namespace Web::Streams {
|
||||
|
||||
|
@ -20,6 +22,10 @@ public:
|
|||
|
||||
JS::GCPtr<JS::TypedArrayBase> view();
|
||||
|
||||
void set_controller(JS::GCPtr<ReadableByteStreamController> value) { m_controller = value; }
|
||||
|
||||
void set_view(JS::GCPtr<JS::TypedArrayBase> value) { m_view = value; }
|
||||
|
||||
private:
|
||||
explicit ReadableStreamBYOBRequest(JS::Realm&);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue