mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 13:27:36 +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
|
@ -48,6 +48,7 @@ class CookieJar {
|
|||
public:
|
||||
String get_cookie(const URL& url) const;
|
||||
void set_cookie(const URL& url, const String& cookie);
|
||||
void dump_cookies() const;
|
||||
|
||||
private:
|
||||
static Optional<String> canonicalize_domain(const URL& url);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue