mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 21:18:14 +00:00
LibWeb: Add missing return statement to bail from a stream read request
As the spec states, we should invoke the failureSteps and abort.
This commit is contained in:
parent
d1a1ace77a
commit
df915f8a98
1 changed files with 1 additions and 0 deletions
|
@ -83,6 +83,7 @@ void ReadLoopReadRequest::on_chunk(JS::Value chunk)
|
|||
}
|
||||
|
||||
m_failure_steps(exception.value());
|
||||
return;
|
||||
}
|
||||
|
||||
auto const& array = static_cast<JS::Uint8Array const&>(chunk.as_object());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue