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:
parent
1dad47c0f9
commit
df2a4adcd2
9 changed files with 64 additions and 6 deletions
|
@ -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));
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue