1
Fork 0
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:
Linus Groh 2022-10-30 17:50:04 +00:00
parent f01d90aa63
commit acfb546048
38 changed files with 153 additions and 149 deletions

View file

@ -96,7 +96,7 @@ WebIDL::ExceptionOr<void> Response::initialize_response(ResponseInit const& init
// 5. If init["headers"] exists, then fill responses 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()) {