Post #3216949
2025-03-31 22:47 UTC
@wilander@mastodon.social This is great! And it comes just in time as I happen to need it for a project I'm currently working on.
I do wonder though, why is this needed in the first place? Why not just partition cookies by default like we do with all other storage APIs? I can't think of any scenario where it would break existing sites.
Replies (1)
-
@wilander@mastodon.social 2025-03-31 23:17
@Jespertheend@mastodon.social We shipped that in 2017 and decided to unship in 2018 because it broke some websites, massively increased the number of cookies, and site owners said they needed access to their unpartitioned cookies for which we provided the Storage Access API. A lot has happened since then, with for instance Firefox also blocking cross-site cookies by default. It may be more web compatible today.