Serenity Operating System
1#import <DOM/Event.idl>
2
3[Exposed=*, UseNewAKString]
4interface CloseEvent : Event {
5 constructor(DOMString type, optional CloseEventInit eventInitDict = {});
6
7 readonly attribute boolean wasClean;
8 readonly attribute unsigned short code;
9 readonly attribute USVString reason;
10};
11
12dictionary CloseEventInit : EventInit {
13 boolean wasClean = false;
14 unsigned short code = 0;
15 USVString reason = "";
16};