1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 05:18:12 +00:00

Ladybird/WebView: Ensure JS console is initialized before handling input

This commit is contained in:
Andreas Kling 2022-09-17 19:48:13 +02:00 committed by Andrew Kaster
parent 6ee92a1fd0
commit c230264c63

View file

@ -963,6 +963,7 @@ void WebView::show_js_console()
m_js_console_output_edit->append(QString("> %1").arg(code));
m_page_client->initialize_js_console();
m_page_client->m_console_client->handle_input(akstring_from_qstring(code));
});
}