mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:47:35 +00:00
Browser+LibWeb: Add "Dump Local Storage" item to Browser's Debug menu
This commit is contained in:
parent
47979996e8
commit
3f9fc0f690
4 changed files with 22 additions and 0 deletions
|
@ -306,6 +306,9 @@ void BrowserWindow::build_menus()
|
|||
if (tab.on_dump_cookies)
|
||||
tab.on_dump_cookies();
|
||||
}));
|
||||
debug_menu.add_action(GUI::Action::create("Dump &Local Storage", [this](auto&) {
|
||||
active_tab().m_web_content_view->debug_request("dump-local-storage");
|
||||
}));
|
||||
debug_menu.add_separator();
|
||||
auto line_box_borders_action = GUI::Action::create_checkable(
|
||||
"Line &Box Borders", [this](auto& action) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue