mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-12 02:59:45 +00:00
LibWeb: Mostly implement ReadableByteStreamController.[[PullSteps]]
This commit is contained in:
parent
c97f6b7701
commit
51abecc8bc
Notes:
sideshowbarker
2024-07-16 23:59:28 +09:00
Author: https://github.com/mattco98
Commit: 51abecc8bc
Pull-request: https://github.com/SerenityOS/serenity/pull/18297
Reviewed-by: https://github.com/linusg
4 changed files with 116 additions and 0 deletions
|
@ -117,6 +117,7 @@ public:
|
|||
void set_stream(JS::GCPtr<ReadableStream> stream) { m_stream = stream; }
|
||||
|
||||
WebIDL::ExceptionOr<JS::GCPtr<WebIDL::Promise>> cancel_steps(JS::Value reason);
|
||||
WebIDL::ExceptionOr<void> pull_steps(NonnullRefPtr<ReadRequest>);
|
||||
|
||||
private:
|
||||
explicit ReadableByteStreamController(JS::Realm&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue