mirror of
https://github.com/zebrajr/ladybird.git
synced 2025-12-06 00:19:53 +01:00
LibWeb: Remove outdated comment about synchronous body initialization
We now do this step asynchronously.
This commit is contained in:
parent
953fe75271
commit
5cd6d403ca
|
|
@ -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…
Reference in New Issue
Block a user