mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 23:07:35 +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
|
@ -72,6 +72,7 @@ public:
|
|||
Function<void(const Gfx::Bitmap&)> on_favicon_change;
|
||||
Function<String(const URL& url)> on_get_cookie;
|
||||
Function<void(const URL& url, const String& cookie)> on_set_cookie;
|
||||
Function<void()> on_dump_cookies;
|
||||
|
||||
const String& title() const { return m_title; }
|
||||
const Gfx::Bitmap* icon() const { return m_icon; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue