mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-07 18:17:23 +00:00
LibWeb/Streams: Handle BYOB reader in ReadableStreamError
This commit is contained in:
parent
24aa43f3fd
commit
acda17ccc4
Notes:
sideshowbarker
2024-07-17 17:40:13 +09:00
Author: https://github.com/shannonbooth
Commit: acda17ccc4
Pull-request: https://github.com/SerenityOS/serenity/pull/21198
Reviewed-by: https://github.com/ADKaster ✅
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