mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-04 15:19:42 +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
|
@ -803,14 +803,9 @@ void PageClient::console_peer_did_misbehave(char const* reason)
|
|||
client().did_misbehave(reason);
|
||||
}
|
||||
|
||||
void PageClient::did_get_styled_js_console_messages(i32 start_index, ReadonlySpan<String> message_types, ReadonlySpan<String> messages)
|
||||
void PageClient::did_get_js_console_messages(i32 start_index, ReadonlySpan<WebView::ConsoleOutput> console_output)
|
||||
{
|
||||
client().async_did_get_styled_js_console_messages(m_id, start_index, message_types, messages);
|
||||
}
|
||||
|
||||
void PageClient::did_get_unstyled_js_console_messages(i32 start_index, ReadonlySpan<WebView::ConsoleOutput> console_output)
|
||||
{
|
||||
client().async_did_get_unstyled_js_console_messages(m_id, start_index, console_output);
|
||||
client().async_did_get_js_console_messages(m_id, start_index, console_output);
|
||||
}
|
||||
|
||||
static void gather_style_sheets(Vector<Web::CSS::StyleSheetIdentifier>& results, Web::CSS::CSSStyleSheet& sheet)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue