The Cookie Store API exposes HTTP cookies to service workers and offers an asynchronous alternative to document.cookie.
Today, cookies have extremely high usage, however the interface to cookies have been a source of complexity and performance issues. The Cookie Store API aims to improve this by providing an asynchronous alternative to document.cookie and exposing HTTP cookies to service workers which will also come with performance benefits. Its interface also encourages developers to make better decisions about security.
Status in Chromium
Enabled by default (tracking bug) in:
- Chrome for desktop release 87
- Chrome for Android release 87
- Android WebView release 87
Consensus & Standardization
Intent to Prototype urlIntent to Prototype thread
Search tagscookie, cookies, polling, ServiceWorker, document.cookie,
Last updated on 2021-01-13