LibWeb: Allow all Script types to be used as [[HostDefined]] values

This patch adds support for all child classes of Web::HTML::Script to be
used in the [[HostDefined]] field of JS::Modules and JS::Scripts.
This commit is contained in:
networkException
2022-10-02 23:17:33 +02:00
committed by Andreas Kling
parent 5a3e079deb
commit 83554526f0
4 changed files with 12 additions and 10 deletions

View File

@@ -166,9 +166,4 @@ void ClassicScript::visit_edges(Cell::Visitor& visitor)
visitor.visit(m_script_record);
}
void ClassicScript::visit_host_defined_self(Cell::Visitor& visitor)
{
visitor.visit(this);
}
}