We are working on Chrome extensions that
- reads cookies from a domain which was set without SameSite attribute
- writes cookies to a domain without SameSite attribute
We have added permissions to both the domains in manifest.json
We enabled the following flags in Chrome browser,
- SameSite by default cookies
- Enable removing SameSite=None cookies
- Cookies without SameSite must be secure
Questions
Even after enabling the flags, we are able to read the cookies that were set with following values from other domain. Is that expected and if so why??
- without SameSite attribute
- with SameSite=strict
Say an extension sets cookies without SameSite attribute in a site with a domain X.com. What happens when the site (X.com) is
- consumed via iframe by another extension
- consumed via iframe by another site with domain Y.com. Will the cookie be rendered with the response in both the cases??
Are requests from extensions considered as cross site request??
How does cookies set by extensions in a domain behaves?? Is that similar to what happens when a web site from a different domain sets a cookie??
Does extensions with permissions to a domain in manifest.json be able to read cookies from the other domain irrespective of the SameSite value??