Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CookieStore: Add validation behavior for __Host- prefixed cookies
This change adds the following checks for "__Host-" prefixed cookies: 1. Disallows overwriting with an explicit domain 2. Disallows non "/" path This behavior is mentioned in the spec here [1]. Creating a cookie that violates this will cause a crash without this change. [1] https://wicg.github.io/cookie-store/#prefixes Change-Id: I20968f11759019921aa7a6b37602878a17b091ff
- Loading branch information