summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/Bindings
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-04-01 19:09:37 +0200
committerAndreas Kling <kling@serenityos.org>2020-04-01 19:09:37 +0200
commita27884e4be9760201451a7ad1fad501858fbd29c (patch)
tree87e4e6c4b22796df03bdeaf9c81d8ba755e644d6 /Libraries/LibWeb/Bindings
parentd062d7baa7f4ce223da2a73108d87bd2178088bf (diff)
downloadserenity-a27884e4be9760201451a7ad1fad501858fbd29c.zip
LibWeb: Remove debug spam in WindowObject
Diffstat (limited to 'Libraries/LibWeb/Bindings')
-rw-r--r--Libraries/LibWeb/Bindings/WindowObject.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/Libraries/LibWeb/Bindings/WindowObject.cpp b/Libraries/LibWeb/Bindings/WindowObject.cpp
index ca669ee772..883e266f3a 100644
--- a/Libraries/LibWeb/Bindings/WindowObject.cpp
+++ b/Libraries/LibWeb/Bindings/WindowObject.cpp
@@ -55,13 +55,11 @@ static Window* impl_from(JS::Interpreter& interpreter)
{
auto* this_object = interpreter.this_value().to_object(interpreter.heap());
if (!this_object) {
- dbg() << "this_object is null";
ASSERT_NOT_REACHED();
return nullptr;
}
if (StringView("WindowObject") != this_object->class_name()) {
interpreter.throw_exception<JS::Error>("TypeError", "That's not a WindowObject, bro.");
- dbg() << "this_object class_name is '" << this_object->class_name() << "'";
return nullptr;
}
return &static_cast<WindowObject*>(this_object)->impl();
@@ -69,11 +67,9 @@ static Window* impl_from(JS::Interpreter& interpreter)
JS::Value WindowObject::alert(JS::Interpreter& interpreter)
{
- dbg() << "alert entry";
auto* impl = impl_from(interpreter);
if (!impl)
return {};
- dbg() << "alert2 entry";
auto& arguments = interpreter.call_frame().arguments;
if (arguments.size() < 1)
return {};