mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 11:49:44 +00:00
LibWeb: Remove OOM propagation from Fetch::Infrastructure::Headers
This commit is contained in:
parent
2925fcd4bc
commit
c79f46fe6f
Notes:
sideshowbarker
2024-07-17 09:47:09 +09:00
Author: https://github.com/trflynn89
Commit: c79f46fe6f
Pull-request: https://github.com/SerenityOS/serenity/pull/24124
23 changed files with 212 additions and 225 deletions
|
@ -469,7 +469,7 @@ JS::GCPtr<DOM::Document> load_document(HTML::NavigationParams const& navigation_
|
|||
// and origin initiatorOrigin, perform the following steps. They return a Document or null.
|
||||
|
||||
// 1. Let type be the computed type of navigationParams's response.
|
||||
auto extracted_mime_type = navigation_params.response->header_list()->extract_mime_type().release_value_but_fixme_should_propagate_errors();
|
||||
auto extracted_mime_type = navigation_params.response->header_list()->extract_mime_type();
|
||||
if (!extracted_mime_type.has_value())
|
||||
return nullptr;
|
||||
auto type = extracted_mime_type.release_value();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue