Преглед на файлове

LibWeb: Remove accidentally commited dbglns

Idan Horowitz преди 2 години
родител
ревизия
c9f9fcd8fd
променени са 1 файла, в които са добавени 0 реда и са изтрити 5 реда
  1. 0 5
      Userland/Libraries/LibWeb/HTML/Scripting/ClassicScript.cpp

+ 0 - 5
Userland/Libraries/LibWeb/HTML/Scripting/ClassicScript.cpp

@@ -111,7 +111,6 @@ JS::Completion ClassicScript::run(RethrowErrors rethrow_errors)
             // 1. Clean up after running script with settings.
             settings.clean_up_after_running_script();
 
-            dbgln("rethrow");
             // 2. Rethrow evaluationStatus.[[Value]].
             return JS::throw_completion(*evaluation_status.value());
         }
@@ -121,8 +120,6 @@ JS::Completion ClassicScript::run(RethrowErrors rethrow_errors)
             // 1. Clean up after running script with settings.
             settings.clean_up_after_running_script();
 
-            dbgln("network error");
-
             // 2. Throw a "NetworkError" DOMException.
             return throw_completion(WebIDL::NetworkError::create(settings.realm(), "Script error."));
         }
@@ -130,8 +127,6 @@ JS::Completion ClassicScript::run(RethrowErrors rethrow_errors)
         // 3. Otherwise, rethrow errors is false. Perform the following steps:
         VERIFY(rethrow_errors == RethrowErrors::No);
 
-        dbgln("no rethrow, stat: {}", evaluation_status.value().value().to_string_without_side_effects());
-
         // 1. Report the exception given by evaluationStatus.[[Value]] for script.
         report_exception(evaluation_status, settings_object().realm());