LibWeb: Remove refusing to run script debug line

Many sites load application/json and application/ld+json
content with script elements, so this debug line shows
up on a lot of sites and is not informative.
This commit is contained in:
Bastiaan van der Plaat 2024-01-09 19:17:19 +01:00 committed by Andreas Kling
parent 7fb32b6682
commit 5c00e2bb7f
Notes: sideshowbarker 2024-07-16 23:17:55 +09:00

View file

@ -215,7 +215,6 @@ void HTMLScriptElement::prepare_script()
// 12. Otherwise, return. (No script is executed, and el's type is left as null.)
else {
VERIFY(m_script_type == ScriptType::Null);
dbgln("HTMLScriptElement: Refusing to run script because the type '{}' is not recognized.", script_block_type);
return;
}