summaryrefslogtreecommitdiff
path: root/Userland/Services/WebContent/WebContentClient.ipc
diff options
context:
space:
mode:
authorTimothy Flynn <trflynn89@pm.me>2022-11-11 09:24:07 -0500
committerLinus Groh <mail@linusgroh.de>2022-11-11 18:02:04 +0000
commitc77260c480f5b9b36171894ed11b4708dbbe8a05 (patch)
tree63f77598fdec04cc9b50fdc2f495f0e6c9c885a0 /Userland/Services/WebContent/WebContentClient.ipc
parentd2c1957d8f79c9a60ba067b8bef780d7abf64bba (diff)
downloadserenity-c77260c480f5b9b36171894ed11b4708dbbe8a05.zip
Browser+WebContent+WebDriver: Move Get All Cookies to WebContent
There are a couple changes here from the existing Get All Cookies implementation. 1. Previously, WebDriver actually returned *all* cookies in the cookie jar. The spec dictates that we only return cookies that match the document's URL. Specifically, it calls out that we must run just the first step of RFC 6265 section 5.4 to perform domain matching. This change adds a special mode to our implementation of that section to skip the remaining steps. 2. We now fill in the SameSite cookie attribute when serializing the cookie to JSON (this was a trival FIXME that didn't get picked up when SameSite was implemented).
Diffstat (limited to 'Userland/Services/WebContent/WebContentClient.ipc')
0 files changed, 0 insertions, 0 deletions