1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:17:44 +00:00

LibWeb: Implement ReadableByteStreamController.error()

This commit is contained in:
Matthew Olsson 2023-04-09 10:42:13 -07:00 committed by Andreas Kling
parent c9be755367
commit ed06429d33
3 changed files with 9 additions and 1 deletions

View file

@ -81,6 +81,7 @@ public:
Optional<double> desired_size() const;
WebIDL::ExceptionOr<void> close();
void error(JS::Value error);
Optional<u32> const& auto_allocate_chunk_size() { return m_auto_allocate_chunk_size; }
void set_auto_allocate_chunk_size(Optional<u32> value) { m_auto_allocate_chunk_size = value; }