mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 10:07:15 +02:00
LibWeb: Fix a few const-ness issues
This commit is contained in:
committed by
Linus Groh
parent
70a2ca7fc0
commit
c0b2fa74ac
Notes:
sideshowbarker
2024-07-16 23:21:29 +09:00
Author: https://github.com/mattco98 Commit: https://github.com/SerenityOS/serenity/commit/c0b2fa74ac Pull-request: https://github.com/SerenityOS/serenity/pull/17620 Issue: https://github.com/SerenityOS/serenity/issues/16988 Reviewed-by: https://github.com/ADKaster ✅ Reviewed-by: https://github.com/linusg
@@ -350,7 +350,7 @@ void HTMLScriptElement::prepare_script()
|
||||
else if (m_script_type == ScriptType::Module) {
|
||||
// Fetch an external module script graph given url, settings object, options, and onComplete.
|
||||
// FIXME: Pass options.
|
||||
fetch_external_module_script_graph(url, settings_object, [this](auto const* result) {
|
||||
fetch_external_module_script_graph(url, settings_object, [this](auto* result) {
|
||||
// 1. Mark as ready el given result.
|
||||
if (!result)
|
||||
mark_as_ready(ResultState::Null {});
|
||||
@@ -382,7 +382,7 @@ void HTMLScriptElement::prepare_script()
|
||||
|
||||
// 2. Fetch an inline module script graph, given source text, base URL, settings object, options, and with the following steps given result:
|
||||
// FIXME: Pass options
|
||||
fetch_inline_module_script_graph(m_document->url().to_deprecated_string(), source_text, base_url, document().relevant_settings_object(), [this](auto const* result) {
|
||||
fetch_inline_module_script_graph(m_document->url().to_deprecated_string(), source_text, base_url, document().relevant_settings_object(), [this](auto* result) {
|
||||
// 1. Mark as ready el given result.
|
||||
if (!result)
|
||||
mark_as_ready(ResultState::Null {});
|
||||
|
||||
Reference in New Issue
Block a user