diff options
author | Timothy Flynn <trflynn89@pm.me> | 2021-04-13 16:47:05 -0400 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-04-14 16:07:46 +0200 |
commit | c2d38abe6f1b63d059f1c59e5f675bf917951847 (patch) | |
tree | bc82448daf776aa3aeab6c13bd1f9866c679457b /AK | |
parent | 7702a3fe29a37817b922c64dfe6b66812c28b9ff (diff) | |
download | serenity-c2d38abe6f1b63d059f1c59e5f675bf917951847.zip |
Browser+LibWeb: Move cookie parser into LibWeb
This moves the cookie parsing steps out of CookieJar into their own file
inside LibWeb. It makes sense for the cookie structures to be in LibWeb
for a couple reasons:
1. There are some steps in the spec that will need to partially happen
from LibWeb, such as the HttpOnly attribute.
2. Parsing the cookie string will be safer if it happens in the OOP tab
rather than the main Browser process. Then if the parser blows up due
to a malformed cookie, only that tab will be affected.
3. Cookies in general are a Web concept not specific to a browser.
Diffstat (limited to 'AK')
0 files changed, 0 insertions, 0 deletions