From 5c00e2bb7f11af19eb92fea98eb819f4211595d8 Mon Sep 17 00:00:00 2001 From: Bastiaan van der Plaat Date: Tue, 9 Jan 2024 19:17:19 +0100 Subject: [PATCH] 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. --- Userland/Libraries/LibWeb/HTML/HTMLScriptElement.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/Userland/Libraries/LibWeb/HTML/HTMLScriptElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLScriptElement.cpp index a0ea466d71..5f3f6fb51e 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLScriptElement.cpp +++ b/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; }