mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-20 00:08:55 +00:00
LibWeb: Implement WritableStream.abort()
This commit is contained in:
parent
ae2d67c28b
commit
c421b6113c
Notes:
sideshowbarker
2024-07-17 10:08:28 +09:00
Author: https://github.com/mattco98
Commit: c421b6113c
Pull-request: https://github.com/SerenityOS/serenity/pull/18265
Reviewed-by: https://github.com/linusg ✅
5 changed files with 72 additions and 3 deletions
|
@ -47,6 +47,7 @@ public:
|
|||
virtual ~WritableStream() = default;
|
||||
|
||||
bool locked() const;
|
||||
WebIDL::ExceptionOr<JS::GCPtr<JS::Object>> abort(JS::Value reason);
|
||||
WebIDL::ExceptionOr<JS::GCPtr<JS::Object>> close();
|
||||
WebIDL::ExceptionOr<JS::NonnullGCPtr<WritableStreamDefaultWriter>> get_writer();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue