mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-20 11:36:10 +00:00
LibWeb: Remove outdated comment about synchronous body initialization
We now do this step asynchronously.
This commit is contained in:
parent
953fe75271
commit
5cd6d403ca
Notes:
github-actions[bot]
2024-12-10 03:04:11 +00:00
Author: https://github.com/gmta Commit: https://github.com/LadybirdBrowser/ladybird/commit/5cd6d403cae Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2162 Reviewed-by: https://github.com/ADKaster ✅ Reviewed-by: https://github.com/shannonbooth
1 changed files with 0 additions and 1 deletions
|
@ -135,7 +135,6 @@ WebIDL::ExceptionOr<Infrastructure::BodyWithType> extract_body(JS::Realm& realm,
|
|||
}));
|
||||
|
||||
// 11. If source is a byte sequence, then set action to a step that returns source and length to source’s length.
|
||||
// For now, do it synchronously.
|
||||
if (source.has<ByteBuffer>()) {
|
||||
action = [source = MUST(ByteBuffer::copy(source.get<ByteBuffer>()))]() mutable {
|
||||
return move(source);
|
||||
|
|
Loading…
Add table
Reference in a new issue