mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:17:35 +00:00
LibWeb: Implement ReadableByteStreamController.[[CancelSteps]]
This commit is contained in:
parent
8274906301
commit
c97f6b7701
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