1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:38:11 +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:
Andreas Kling 2021-01-31 09:06:25 +01:00
parent 1dad47c0f9
commit df2a4adcd2
9 changed files with 64 additions and 6 deletions

View file

@ -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));
}
}