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:
Timothy Flynn 2025-04-14 18:25:51 -04:00 committed by Tim Flynn
commit cef7821f53
Notes: github-actions[bot] 2025-04-14 23:57:55 +00:00
4 changed files with 3114 additions and 5 deletions

View file

@ -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);
}
}
}