mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 04:09:13 +00: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:
parent
5a3e079deb
commit
83554526f0
Notes:
sideshowbarker
2024-07-17 06:18:30 +09:00
Author: https://github.com/networkException
Commit: 83554526f0
Pull-request: https://github.com/SerenityOS/serenity/pull/15275
Reviewed-by: https://github.com/davidot ✅
Reviewed-by: https://github.com/linusg
4 changed files with 12 additions and 10 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue