mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:47:35 +00:00
LibWeb: Implement WritableStreamDefaultWriter.abort()
This commit is contained in:
parent
c421b6113c
commit
0c441fa7af
5 changed files with 32 additions and 1 deletions
|
@ -27,6 +27,7 @@ public:
|
|||
JS::GCPtr<JS::Object> closed();
|
||||
WebIDL::ExceptionOr<Optional<double>> desired_size() const;
|
||||
JS::GCPtr<JS::Object> ready();
|
||||
WebIDL::ExceptionOr<JS::GCPtr<JS::Object>> abort(JS::Value reason);
|
||||
|
||||
JS::GCPtr<WebIDL::Promise> closed_promise() { return m_closed_promise; }
|
||||
void set_closed_promise(JS::GCPtr<WebIDL::Promise> value) { m_closed_promise = value; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue