ServiceWorkerGlobalScope: cookieStore property

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.

Note: This feature is only available in Service Workers.

The cookieStore read-only property of the ServiceWorkerGlobalScope interface returns a reference to the CookieStore object associated with this service worker.


A CookieStore object instance.


Cookie Store API
# dom-serviceworkerglobalscope-cookiestore

Browser compatibility

BCD tables only load in the browser