mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:07:45 +00:00
Ladybird/WebView: Ensure JS console is initialized before handling input
This commit is contained in:
parent
6ee92a1fd0
commit
c230264c63
1 changed files with 1 additions and 0 deletions
|
@ -963,6 +963,7 @@ void WebView::show_js_console()
|
||||||
|
|
||||||
m_js_console_output_edit->append(QString("> %1").arg(code));
|
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));
|
m_page_client->m_console_client->handle_input(akstring_from_qstring(code));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue