LibWeb: Initialize HTML::EventLoop with its type

This commit is contained in:
Andrew Kaster
2024-07-09 02:59:25 -06:00
committed by Andreas Kling
parent aa4e18fca5
commit 5d8784318d
10 changed files with 12 additions and 11 deletions

View File

@@ -161,7 +161,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
Web::Platform::FontPlugin::install(*new Ladybird::FontPlugin(is_layout_test_mode));
TRY(Web::Bindings::initialize_main_thread_vm());
TRY(Web::Bindings::initialize_main_thread_vm(Web::HTML::EventLoop::Type::Window));
if (log_all_js_exceptions) {
JS::g_log_all_js_exceptions = true;