mirror of
https://github.com/RGBCube/serenity
synced 2025-05-29 17:35:06 +00:00
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:
parent
7fb32b6682
commit
5c00e2bb7f
1 changed files with 0 additions and 1 deletions
|
@ -215,7 +215,6 @@ void HTMLScriptElement::prepare_script()
|
||||||
// 12. Otherwise, return. (No script is executed, and el's type is left as null.)
|
// 12. Otherwise, return. (No script is executed, and el's type is left as null.)
|
||||||
else {
|
else {
|
||||||
VERIFY(m_script_type == ScriptType::Null);
|
VERIFY(m_script_type == ScriptType::Null);
|
||||||
dbgln("HTMLScriptElement: Refusing to run script because the type '{}' is not recognized.", script_block_type);
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue