CookieChangeEvent() constructor creates a new
which is the event type passed to
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.
new CookieChangeEvent(type) new CookieChangeEvent(type, options)
A string with the name of the event. It is case-sensitive and browsers always set it to
An object that, in addition of the properties defined in
Event(), can have the following properties:
An array containing the changed cookies.
An array containing the deleted cookies.
|Cookie Store API |
BCD tables only load in the browser