As of Firefox 136, I intend to turn the CookieStore API on by default on
all platforms. It has been developed behind the
`dom.cookieStore.enabled` preference.
As discussed previously, we plan to ship an implementation that diverges from the official spec by the following points:
1.
`CookieListItem` objects returned via the `CookieStore.get()`/`getAll()` methods only expose the name and value fields. This matches the current functionality of document.cookie.
2. We don't implement the
`CookieStoreManager` and the `ServiceWorkerGlobalScope.oncookiechange`
event handler, with its `ExtendableCookieChangeEvent` event because we
don't want to spawn ServiceWorkers at any cookie change
Status in other browsers:
- Chrome: released since 2020
- Safari is actively working on releasing the same subset described above.
Bug to turn on by default:
https://bugzilla.mozilla.org/show_bug.cgi?id=1937477Standard:
https://wicg.github.io/cookie-store/