mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 23:27:35 +00:00
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.
This commit is contained in:
parent
7702a3fe29
commit
c2d38abe6f
6 changed files with 428 additions and 355 deletions
|
@ -11,6 +11,7 @@ set(SOURCES
|
|||
Bindings/ScriptExecutionContext.cpp
|
||||
Bindings/WindowObject.cpp
|
||||
Bindings/Wrappable.cpp
|
||||
Cookie/ParsedCookie.cpp
|
||||
CSS/CSSImportRule.cpp
|
||||
CSS/CSSRule.cpp
|
||||
CSS/CSSStyleDeclaration.cpp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue