mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 04:09:13 +00:00
LibWeb: Unindent looping over a BYOB reader's pull-into requests
This was causing us to hang on some BYOB tests.
This commit is contained in:
parent
f22fa827ec
commit
cef7821f53
Notes:
github-actions[bot]
2025-04-14 23:57:55 +00:00
Author: https://github.com/trflynn89
Commit: cef7821f53
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4358
4 changed files with 3114 additions and 5 deletions
|
@ -2853,12 +2853,12 @@ void readable_byte_stream_controller_respond_in_closed_state(ReadableByteStreamC
|
|||
|
||||
// 2. Append pullIntoDescriptor to filledPullIntos.
|
||||
filled_pull_intos.append(pull_into_descriptor);
|
||||
}
|
||||
|
||||
// 3. For each filledPullInto of filledPullIntos,
|
||||
for (auto& filled_pull_into : filled_pull_intos) {
|
||||
// 1. Perform ! ReadableByteStreamControllerCommitPullIntoDescriptor(stream, filledPullInto).
|
||||
readable_byte_stream_controller_commit_pull_into_descriptor(stream, *filled_pull_into);
|
||||
}
|
||||
// 3. For each filledPullInto of filledPullIntos,
|
||||
for (auto& filled_pull_into : filled_pull_intos) {
|
||||
// 1. Perform ! ReadableByteStreamControllerCommitPullIntoDescriptor(stream, filledPullInto).
|
||||
readable_byte_stream_controller_commit_pull_into_descriptor(stream, *filled_pull_into);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue