1. Web
  2. Web APIs
  3. ServiceWorkerGlobalScope
  4. cookieStore

ServiceWorkerGlobalScope: cookieStore property

Baseline 2025
Newly available

Since ⁨June 2025⁩, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.

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.

Value

A CookieStore object instance.

Specifications

Specification
Cookie Store API
# dom-serviceworkerglobalscope-cookiestore

Browser compatibility

Help improve MDN

Learn how to contribute

This page was last modified on by MDN contributors.

AltStyle によって変換されたページ (->オリジナル) /