mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-05 10:42:51 +00:00
LibWebView+WebContent: Remove "styled" JS console IPC hooks
This was used by the built-in Inspector to send HTML-ified JS console messages to the browser. It is no longer used.
This commit is contained in:
parent
a5f3a60ed5
commit
5d0fbc85e5
Notes:
github-actions[bot]
2025-03-27 14:15:12 +00:00
Author: https://github.com/trflynn89
Commit: 5d0fbc85e5
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4117
Reviewed-by: https://github.com/gmta ✅
8 changed files with 12 additions and 29 deletions
|
@ -730,7 +730,7 @@ void Application::listen_for_console_messages(DevTools::TabDescription const& de
|
|||
return;
|
||||
|
||||
view->on_console_message_available = move(on_console_message_available);
|
||||
view->on_received_unstyled_console_messages = move(on_received_console_output);
|
||||
view->on_received_console_messages = move(on_received_console_output);
|
||||
view->js_console_request_messages(0);
|
||||
}
|
||||
|
||||
|
@ -741,7 +741,7 @@ void Application::stop_listening_for_console_messages(DevTools::TabDescription c
|
|||
return;
|
||||
|
||||
view->on_console_message_available = nullptr;
|
||||
view->on_received_unstyled_console_messages = nullptr;
|
||||
view->on_received_console_messages = nullptr;
|
||||
}
|
||||
|
||||
void Application::request_console_messages(DevTools::TabDescription const& description, i32 start_index) const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue