mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 08:08:12 +00:00
LibWeb: Handle currently ignored WebIDL::ExceptionOr<T>
s
This commit is contained in:
parent
f01d90aa63
commit
acfb546048
38 changed files with 153 additions and 149 deletions
|
@ -96,7 +96,7 @@ WebIDL::ExceptionOr<void> Response::initialize_response(ResponseInit const& init
|
|||
|
||||
// 5. If init["headers"] exists, then fill response’s headers with init["headers"].
|
||||
if (init.headers.has_value())
|
||||
m_headers->fill(*init.headers);
|
||||
TRY(m_headers->fill(*init.headers));
|
||||
|
||||
// 6. If body was given, then:
|
||||
if (body.has_value()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue