ladybird/Libraries/LibWeb/CookieStore/CookieChangeEvent.idl

16 lines
557 B
Text
Raw Normal View History

2025-08-07 15:31:24 +03:00
#import <DOM/Event.idl>
#import <CookieStore/CookieStore.idl>
dictionary CookieChangeEventInit : EventInit {
CookieList changed;
CookieList deleted;
};
// https://cookiestore.spec.whatwg.org/#cookiechangeevent
[Exposed=Window, SecureContext]
interface CookieChangeEvent : Event {
constructor(DOMString type, optional CookieChangeEventInit eventInitDict = {});
[SameObject, CachedAttribute] readonly attribute FrozenArray<CookieListItem> changed;
[SameObject, CachedAttribute] readonly attribute FrozenArray<CookieListItem> deleted;
2025-08-07 15:31:24 +03:00
};