mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 19:38:12 +00:00
Ladybird+LibWeb+WebContent: Port the did_request_cookie
IPC to String
This commit is contained in:
parent
dcd9962d7b
commit
85b8971a80
14 changed files with 16 additions and 16 deletions
|
@ -80,7 +80,7 @@ CookieJar::CookieJar(TransientStorage storage)
|
|||
{
|
||||
}
|
||||
|
||||
ByteString CookieJar::get_cookie(const URL& url, Web::Cookie::Source source)
|
||||
String CookieJar::get_cookie(const URL& url, Web::Cookie::Source source)
|
||||
{
|
||||
purge_expired_cookies();
|
||||
|
||||
|
@ -100,7 +100,7 @@ ByteString CookieJar::get_cookie(const URL& url, Web::Cookie::Source source)
|
|||
builder.appendff("{}={}", cookie.name, cookie.value);
|
||||
}
|
||||
|
||||
return builder.to_byte_string();
|
||||
return MUST(builder.to_string());
|
||||
}
|
||||
|
||||
void CookieJar::set_cookie(const URL& url, Web::Cookie::ParsedCookie const& parsed_cookie, Web::Cookie::Source source)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue