mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:37:45 +00:00
Browser: Add debug command to dump cookies
Using document.cookie only lets the test page see the name/value pair; the value returned will not included the parsed attributes.
This commit is contained in:
parent
fc03f8d959
commit
5496d71e4a
5 changed files with 37 additions and 0 deletions
|
@ -440,6 +440,10 @@ Tab::Tab(Type type)
|
|||
debug_menu.add_action(GUI::Action::create("Dump &History", { Mod_Ctrl, Key_H }, [&](auto&) {
|
||||
m_history.dump();
|
||||
}));
|
||||
debug_menu.add_action(GUI::Action::create("Dump C&ookies", [&](auto&) {
|
||||
if (on_dump_cookies)
|
||||
on_dump_cookies();
|
||||
}));
|
||||
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