LibWeb: Remove ExceptionOr usage for 'resolve module integrity metadata'

We do not have any exceptions to propogate.
This commit is contained in:
Shannon Booth 2024-12-03 18:03:50 +13:00 committed by Sam Atkins
commit e9ab3e5a80
Notes: github-actions[bot] 2024-12-04 16:48:33 +00:00
4 changed files with 7 additions and 7 deletions

View file

@ -556,7 +556,7 @@ ErrorOr<void> initialize_main_thread_vm(HTML::EventLoop::Type type)
auto& settings_object = HTML::principal_realm_settings_object(HTML::principal_realm(*module_map_realm));
// 12. Let fetchOptions be the result of getting the descendant script fetch options given originalFetchOptions, url, and settingsObject.
auto fetch_options = MUST(HTML::get_descendant_script_fetch_options(original_fetch_options, url.value(), settings_object));
auto fetch_options = HTML::get_descendant_script_fetch_options(original_fetch_options, url.value(), settings_object);
// 13. Let destination be "script".
auto destination = Fetch::Infrastructure::Request::Destination::Script;