1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 20:07:35 +00:00

Browser: Initial cookie storage implementation

This adds storage for cookies that maye be set via 'document.cookie' in
JavaScript or the Set-Cookie HTTP header. For now, it parses only the
name-value pair from a set-cookie line, but does not parse optional
attributes.

Currently, storage is ephemeral and only survives for the lifetime of
the Browser instance.
This commit is contained in:
Timothy Flynn 2021-04-11 10:43:54 -04:00 committed by Andreas Kling
parent 59e47c3b11
commit f0cdb2bf50
3 changed files with 186 additions and 0 deletions

View file

@ -6,6 +6,7 @@ set(SOURCES
BookmarksBarWidget.cpp
BrowserConsoleClient.cpp
ConsoleWidget.cpp
CookieJar.cpp
DownloadWidget.cpp
History.cpp
InspectorWidget.cpp