mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 15:16:14 +00:00
Browser+LibWeb+WebContent: Make the "Debug" menu work in multi-process
This patch adds an IPC call for debugging requests. It's stringly typed and very simple, and allows us to easily implement all the features in the Browser's Debug menu.
This commit is contained in:
@@ -299,4 +299,9 @@ WebContentClient& OutOfProcessWebView::client()
|
||||
return *m_client_state.client;
|
||||
}
|
||||
|
||||
void OutOfProcessWebView::debug_request(const String& request, const String& argument)
|
||||
{
|
||||
client().post_message(Messages::WebContentServer::DebugRequest(request, argument));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user