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
ExtendableEvent ExtendableCookieChangeEvent

Constructors

NameDescription
ExtendableCookieChangeEvent(string, ExtendableCookieChangeEventInit?)Creates a cookie change event with the given type and initialization dictionary.

ExtendableCookieChangeEvent(string, ExtendableCookieChangeEventInit?)

CookieStoreManager.cs

Creates a cookie change event with the given type and initialization dictionary.

public ExtendableCookieChangeEvent(string type, ExtendableCookieChangeEventInit? eventInitDict = null)

Properties

NameDescription
ChangedGets the created or changed cookies.
DeletedGets the deleted cookies, without value.

Gets the deleted cookies, without value.

public IReadOnlyList<CookieListItem> Deleted { get; }