ServiceWorkerGlobalScope: thuộc tính cookieStore
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.
Thuộc tính chỉ đọc cookieStore của giao diện ServiceWorkerGlobalScope trả về một tham chiếu đến đối tượng CookieStore được liên kết với service worker này.
Giá trị
Một thể hiện đối tượng CookieStore.
Đặc tả kỹ thuật
| Specification |
|---|
| Cookie Store API> # dom-serviceworkerglobalscope-cookiestore> |