mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 04:47:34 +00:00
LibWeb: Add ReadableStream.locked/cancel()/getReader()
This commit is contained in:
parent
d8710aa604
commit
36ca1386e8
6 changed files with 63 additions and 1 deletions
|
@ -36,6 +36,10 @@ public:
|
|||
|
||||
virtual ~ReadableStream() override;
|
||||
|
||||
bool locked();
|
||||
WebIDL::ExceptionOr<JS::GCPtr<JS::Object>> cancel(JS::Value view);
|
||||
WebIDL::ExceptionOr<ReadableStreamReader> get_reader();
|
||||
|
||||
ReadableStreamController controller() { return m_controller; }
|
||||
void set_controller(ReadableStreamController value) { m_controller = value; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue