From 8cd4a889fe9e5bc4ec878ef6fe35754c6802aeda Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Mon, 13 Sep 2021 21:15:24 +0100 Subject: [PATCH] LibWeb: Stop dumping selectors in ParentNode::query_selector{,_all}() This isn't particularly useful (anymore), especially without any context about _why_ this output suddenly appears in the debug console. --- Userland/Libraries/LibWeb/DOM/ParentNode.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Userland/Libraries/LibWeb/DOM/ParentNode.cpp b/Userland/Libraries/LibWeb/DOM/ParentNode.cpp index a55f7631e8..f2136a1662 100644 --- a/Userland/Libraries/LibWeb/DOM/ParentNode.cpp +++ b/Userland/Libraries/LibWeb/DOM/ParentNode.cpp @@ -19,9 +19,6 @@ ExceptionOr> ParentNode::query_selector(StringView selector_text auto selectors = maybe_selectors.value(); - for (auto& selector : selectors) - dump_selector(selector); - RefPtr result; for_each_in_inclusive_subtree_of_type([&](auto& element) { for (auto& selector : selectors) { @@ -44,9 +41,6 @@ ExceptionOr> ParentNode::query_selector_all(StringV auto selectors = maybe_selectors.value(); - for (auto& selector : selectors) - dump_selector(selector); - NonnullRefPtrVector elements; for_each_in_inclusive_subtree_of_type([&](auto& element) { for (auto& selector : selectors) {