mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:37:35 +00:00
Ladybird+LibWebView: Move console history tracking to ConsoleClient
This will allow other chromes to make use of history in their console implementations.
This commit is contained in:
parent
ed315dd950
commit
204a6f9241
6 changed files with 69 additions and 34 deletions
|
@ -48,7 +48,7 @@ ConsoleWidget::ConsoleWidget(WebView::OutOfProcessWebView& content_view)
|
|||
m_input->add_current_text_to_history();
|
||||
m_input->clear();
|
||||
|
||||
m_console_client->execute(js_source);
|
||||
m_console_client->execute(MUST(String::from_deprecated_string(js_source)));
|
||||
};
|
||||
|
||||
set_focus_proxy(m_input);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue