mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02: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:
committed by
Jelle Raaijmakers
parent
a5f3a60ed5
commit
5d0fbc85e5
Notes:
github-actions[bot]
2025-03-27 14:15:12 +00:00
Author: https://github.com/trflynn89 Commit: https://github.com/LadybirdBrowser/ladybird/commit/5d0fbc85e52 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4117 Reviewed-by: https://github.com/gmta ✅
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user