Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.
Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The CookieChangeEvent()
constructor creates a new CookieChangeEvent
object which is the event type passed to CookieStore.onchange()
. This constructor is called by the browser when a change event occurs.
Note: This event constructor is generally not needed for production websites. It's primary use is for tests that require an instance of this event.