mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 07:37:35 +00:00
LibWeb: Add the missing CloseEvent IDL constructor
This commit is contained in:
parent
7f551d7f6a
commit
ded8e84f32
3 changed files with 32 additions and 10 deletions
|
@ -1,7 +1,15 @@
|
|||
#import <DOM/Event.idl>
|
||||
|
||||
interface CloseEvent : Event {
|
||||
constructor(DOMString type, optional CloseEventInit eventInitDict = {});
|
||||
|
||||
readonly attribute boolean wasClean;
|
||||
readonly attribute unsigned short code;
|
||||
readonly attribute USVString reason;
|
||||
|
||||
};
|
||||
|
||||
dictionary CloseEventInit : EventInit {
|
||||
boolean wasClean = false;
|
||||
unsigned short code = 0;
|
||||
USVString reason = "";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue