diff --git a/Libraries/LibWeb/XHR/XMLHttpRequest.cpp b/Libraries/LibWeb/XHR/XMLHttpRequest.cpp index 981d3f92944..6fabab637d8 100644 --- a/Libraries/LibWeb/XHR/XMLHttpRequest.cpp +++ b/Libraries/LibWeb/XHR/XMLHttpRequest.cpp @@ -779,8 +779,7 @@ WebIDL::ExceptionOr XMLHttpRequest::send(Optionalis_network_error()) @@ -800,8 +799,7 @@ WebIDL::ExceptionOr XMLHttpRequest::send(Optionalbody()) { // NOTE: This cannot throw, as `handle_response_end_of_body` only throws in a synchronous context. - // FIXME: However, we can receive allocation failures, but we can't propagate them anywhere currently. - handle_response_end_of_body().release_value_but_fixme_should_propagate_errors(); + MUST(handle_response_end_of_body()); return; } @@ -837,8 +835,7 @@ WebIDL::ExceptionOr XMLHttpRequest::send(Optional XMLHttpRequest::send(Optional