mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 11:07:45 +00:00
WebContent: Store messages in WebContentConsoleClient
The `WebContentConsoleClient` now keeps a list of console messages it has received, so these are not lost if the ConsoleWidget has not been initialized yet. This change does break JS console output, but only until the next commit. :^)
This commit is contained in:
parent
c619a57cf8
commit
f6a927fa20
3 changed files with 58 additions and 8 deletions
|
@ -318,9 +318,9 @@ void ClientConnection::run_javascript(String const& js_source)
|
|||
}
|
||||
}
|
||||
|
||||
void ClientConnection::js_console_request_messages(i32)
|
||||
void ClientConnection::js_console_request_messages(i32 start_index)
|
||||
{
|
||||
TODO();
|
||||
m_console_client->send_messages(start_index);
|
||||
}
|
||||
|
||||
Messages::WebContentServer::GetSelectedTextResponse ClientConnection::get_selected_text()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue