ladybird/Userland/Libraries/LibWeb/HTML/Scripting/SyntheticRealmSettings.cpp
Shannon Booth b105c06824 LibWeb: Introduce a SyntheticHostDefined class
This class is the host defined field of a synthetic realm created as
part of a shadow realm.
2024-11-05 10:43:08 -07:00

20 lines
466 B
C++

/*
* Copyright (c) 2024, Shannon Booth <shannon@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <LibWeb/HTML/Scripting/ModuleMap.h>
#include <LibWeb/HTML/Scripting/SyntheticRealmSettings.h>
namespace Web::HTML {
void SyntheticRealmSettings::visit_edges(JS::Cell::Visitor& visitor)
{
execution_context->visit_edges(visitor);
visitor.visit(principal_realm);
visitor.visit(underlying_realm);
visitor.visit(module_map);
}
}