mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:27:43 +00:00
LibWeb: Add the missing CustomEvent IDL constructor
This commit is contained in:
parent
e04f3c713c
commit
3b9e8ec597
3 changed files with 28 additions and 14 deletions
|
@ -1,8 +1,14 @@
|
|||
#import <Event.idl>
|
||||
|
||||
[Exposed=(Window,Worker), CustomVisit]
|
||||
interface CustomEvent : Event {
|
||||
// FIXME: constructor(DOMString type, optional CustomEventInit eventInitDict = {});
|
||||
constructor(DOMString type, optional CustomEventInit eventInitDict = {});
|
||||
|
||||
readonly attribute any detail;
|
||||
|
||||
undefined initCustomEvent(DOMString type, optional boolean bubbles = false, optional boolean cancelable = false, optional any detail = null);
|
||||
};
|
||||
|
||||
dictionary CustomEventInit : EventInit {
|
||||
any detail = null;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue