1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 03:57:44 +00:00

Ladybird: Port over part of the "Debug" menu from the SerenityOS browser

This is pretty messy, but we have to start somewhere. Eventually we
should find a way to share this code with SerenityOS.
This commit is contained in:
Andreas Kling 2022-07-08 14:14:40 +02:00 committed by Andrew Kaster
parent eea012472e
commit 487544d7b4
6 changed files with 199 additions and 8 deletions

View file

@ -123,3 +123,8 @@ int Tab::tab_index()
auto browser_window = reinterpret_cast<BrowserWindow*>(m_window);
return browser_window->tab_index(this);
}
void Tab::debug_request(String const& request, String const& argument)
{
m_view->debug_request(request, argument);
}