mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-03 13:02:09 +02:00
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:
committed by
Andreas Kling
parent
5a3e079deb
commit
83554526f0
Notes:
sideshowbarker
2024-07-17 06:18:30 +09:00
Author: https://github.com/networkException Commit: https://github.com/SerenityOS/serenity/commit/83554526f0 Pull-request: https://github.com/SerenityOS/serenity/pull/15275 Reviewed-by: https://github.com/davidot ✅ Reviewed-by: https://github.com/linusg
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user