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.
This event constructor is generally not needed for production web sites. It's primary use is for tests that require an instance of this event.
var CookieChangeEvent = new CookieChangeEvent(type,eventInitDict);
DOMStringwith the value
- An object containing:
- An array containing a changed cookie.
- An array containing a deleted cookie.
|Cookie Store API
The definition of 'CookieChangeEvent()' in that specification.
BCD tables only load in the browser