Coverage Report

Created: 2026-10-28 07:05

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/serenity/Userland/Libraries/LibWeb/DOM/Slot.cpp
Line
Count
Source
1
/*
2
 * Copyright (c) 2023, Tim Flynn <trflynn89@serenityos.org>
3
 *
4
 * SPDX-License-Identifier: BSD-2-Clause
5
 */
6
7
#include <LibWeb/DOM/Element.h>
8
#include <LibWeb/DOM/Slot.h>
9
#include <LibWeb/DOM/Text.h>
10
11
namespace Web::DOM {
12
13
0
Slot::~Slot() = default;
14
15
void Slot::visit_edges(JS::Cell::Visitor& visitor)
16
0
{
17
0
    for (auto const& node : m_assigned_nodes)
18
0
        node.visit([&](auto const& slottable) { visitor.visit(slottable); });
Unexecuted instantiation: Slot.cpp:auto Web::DOM::Slot::visit_edges(JS::Cell::Visitor&)::$_0::operator()<JS::NonnullGCPtr<Web::DOM::Element> >(JS::NonnullGCPtr<Web::DOM::Element> const&) const
Unexecuted instantiation: Slot.cpp:auto Web::DOM::Slot::visit_edges(JS::Cell::Visitor&)::$_0::operator()<JS::NonnullGCPtr<Web::DOM::Text> >(JS::NonnullGCPtr<Web::DOM::Text> const&) const
19
0
}
20
21
}