mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-26 06:18:59 +00:00
LibWeb: Remove ExceptionOr usage for 'resolve module integrity metadata'
We do not have any exceptions to propogate.
This commit is contained in:
parent
a557632716
commit
e9ab3e5a80
Notes:
github-actions[bot]
2024-12-04 16:48:33 +00:00
Author: https://github.com/shannonbooth
Commit: e9ab3e5a80
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2727
Reviewed-by: https://github.com/AtkinsSJ ✅
4 changed files with 7 additions and 7 deletions
|
@ -419,7 +419,7 @@ void HTMLScriptElement::prepare_script()
|
|||
else if (m_script_type == ScriptType::Module) {
|
||||
// If el does not have an integrity attribute, then set options's integrity metadata to the result of resolving a module integrity metadata with url and settings object.
|
||||
if (!has_attribute(HTML::AttributeNames::integrity))
|
||||
options.integrity_metadata = MUST(resolve_a_module_integrity_metadata(url, settings_object));
|
||||
options.integrity_metadata = resolve_a_module_integrity_metadata(url, settings_object);
|
||||
|
||||
// Fetch an external module script graph given url, settings object, options, and onComplete.
|
||||
fetch_external_module_script_graph(realm(), url, settings_object, options, on_complete);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue