Prechádzať zdrojové kódy

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.
Bastiaan van der Plaat 1 rok pred
rodič
commit
5c00e2bb7f

+ 0 - 1
Userland/Libraries/LibWeb/HTML/HTMLScriptElement.cpp

@@ -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;
     }