mirror of
https://github.com/RGBCube/serenity
synced 2025-05-18 01:55:07 +00:00

NewAKString is effectively the default for any new IDL interface, so let's mark this as the default behavior. It also makes it much easier to figure out whatever interfaces are still left to port over to new AK String.
14 lines
415 B
Text
14 lines
415 B
Text
#import <DOM/Event.idl>
|
|
|
|
[Exposed=(Window,Worker)]
|
|
interface CustomEvent : Event {
|
|
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;
|
|
};
|