mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 16:18:12 +00:00
LibWeb/Streams: Handle BYOB reader in ReadableStreamError
This commit is contained in:
parent
24aa43f3fd
commit
acda17ccc4
1 changed files with 3 additions and 3 deletions
|
@ -312,10 +312,10 @@ void readable_stream_error(ReadableStream& stream, JS::Value error)
|
|||
// 9. Otherwise,
|
||||
else {
|
||||
// 1. Assert: reader implements ReadableStreamBYOBReader.
|
||||
// 2. Perform ! ReadableStreamBYOBReaderErrorReadIntoRequests(reader, e).
|
||||
VERIFY(reader->has<JS::NonnullGCPtr<ReadableStreamBYOBReader>>());
|
||||
|
||||
// FIXME: Handle BYOBReader
|
||||
TODO();
|
||||
// 2. Perform ! ReadableStreamBYOBReaderErrorReadIntoRequests(reader, e).
|
||||
readable_stream_byob_reader_error_read_into_requests(*reader->get<JS::NonnullGCPtr<ReadableStreamBYOBReader>>(), error);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue