ExtendableCookieChangeEvent Class
The cookiechange event of a service worker (https://cookiestore.spec.whatwg.org/#extendablecookiechangeevent): the changes of the cookies that match the subscriptions of its registration (CookieStoreManager).
public sealed class ExtendableCookieChangeEvent : ExtendableEvent- Inheritance
ExtendableEventExtendableCookieChangeEvent
Constructors
| Name | Description |
|---|---|
| ExtendableCookieChangeEvent(string, ExtendableCookieChangeEventInit?) | Creates a cookie change event with the given type and initialization dictionary. |
ExtendableCookieChangeEvent(string, ExtendableCookieChangeEventInit?)
CookieStoreManager.csCreates a cookie change event with the given type and initialization dictionary.
public ExtendableCookieChangeEvent(string type, ExtendableCookieChangeEventInit? eventInitDict = null)Properties
| Name | Description |
|---|---|
| Changed | Gets the created or changed cookies. |
| Deleted | Gets the deleted cookies, without value. |
Changed
CookieStoreManager.csGets the created or changed cookies.
public IReadOnlyList<CookieListItem> Changed { get; }Deleted
CookieStoreManager.csGets the deleted cookies, without value.
public IReadOnlyList<CookieListItem> Deleted { get; }