web api event
ServiceWorkerGlobalScope: cookiechange event
Secure contextAvailable in workers
The cookiechange event of the ServiceWorkerGlobalScope interface is fired when a cookie change occurs that matches the service worker’s cookie change subscription list.
This event is not cancelable and does not bubble.
Syntax
Use the event name in methods like addEventListener(), or set an event handler property.
addEventListener("cookiechange", (event) => { })
oncookiechange = (event) => { }
Event type
An ExtendableCookieChangeEvent. Inherits from ExtendableEvent.
Specifications
SpecificationsStandards references are available on the canonical MDN page.
Browser compatibility
Browser compatibilityCompatibility data is available on the canonical MDN page.