2021-10-01 12:16:12 -03:00
|
|
|
#import <DOM/Event.idl>
|
|
|
|
|
|
2022-09-05 06:41:26 -03:00
|
|
|
[]
|
2021-04-24 08:54:24 -03:00
|
|
|
interface CloseEvent : Event {
|
2021-10-01 12:16:12 -03:00
|
|
|
constructor(DOMString type, optional CloseEventInit eventInitDict = {});
|
2021-04-24 08:54:24 -03:00
|
|
|
|
|
|
|
|
readonly attribute boolean wasClean;
|
|
|
|
|
readonly attribute unsigned short code;
|
|
|
|
|
readonly attribute USVString reason;
|
2021-10-01 12:16:12 -03:00
|
|
|
};
|
2021-04-24 08:54:24 -03:00
|
|
|
|
2021-10-01 12:16:12 -03:00
|
|
|
dictionary CloseEventInit : EventInit {
|
|
|
|
|
boolean wasClean = false;
|
|
|
|
|
unsigned short code = 0;
|
|
|
|
|
USVString reason = "";
|
2021-04-24 08:54:24 -03:00
|
|
|
};
|