mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
LibWeb: Remove ShadowRealm HTML integration
This commit is contained in:
committed by
Shannon Booth
parent
f27bc38aa7
commit
bb0f244667
Notes:
github-actions[bot]
2026-04-05 11:58:52 +00:00
Author: https://github.com/shannonbooth Commit: https://github.com/LadybirdBrowser/ladybird/commit/bb0f244667d Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/8753
@@ -41,7 +41,7 @@ void WebContentConsoleClient::visit_edges(JS::Cell::Visitor& visitor)
|
||||
void WebContentConsoleClient::handle_input(StringView js_source)
|
||||
{
|
||||
auto& settings = Web::HTML::relevant_settings_object(*m_console_global_environment_extensions);
|
||||
auto script = Web::HTML::ClassicScript::create("(console)", js_source, settings.realm(), settings.api_base_url());
|
||||
auto script = Web::HTML::ClassicScript::create("(console)", js_source, settings, settings.api_base_url());
|
||||
|
||||
auto with_scope = JS::new_object_environment(*m_console_global_environment_extensions, true, &settings.realm().global_environment());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user