소스 검색

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 년 전
부모
커밋
5c00e2bb7f
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      Userland/Libraries/LibWeb/HTML/HTMLScriptElement.cpp

+ 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.)
     // 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;
     }
     }