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

LibWeb+WebContent: Remove old console-logging IPC calls

This patch removes the following WebContent IPC calls, which are no
longer used:

- `Server::js_console_initialize()`
- `Client::did_js_console_output()`
This commit is contained in:
Sam Atkins 2021-09-04 12:29:25 +01:00 committed by Andreas Kling
parent 95aa6562db
commit e255b5dd31
9 changed files with 0 additions and 36 deletions

View file

@ -347,12 +347,6 @@ void OutOfProcessWebView::notify_server_did_get_dom_node_properties(i32 node_id,
on_get_dom_node_properties(node_id, specified_style, computed_style);
}
void OutOfProcessWebView::notify_server_did_js_console_output(const String& method, const String& line)
{
if (on_js_console_output)
on_js_console_output(method, line);
}
void OutOfProcessWebView::notify_server_did_output_js_console_message(i32 message_index)
{
if (on_js_console_new_message)
@ -441,11 +435,6 @@ i32 OutOfProcessWebView::get_hovered_node_id()
return client().get_hovered_node_id();
}
void OutOfProcessWebView::js_console_initialize()
{
client().async_js_console_initialize();
}
void OutOfProcessWebView::js_console_input(const String& js_source)
{
client().async_js_console_input(js_source);