mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 08:27:46 +00:00
LibWeb: Add initial support for CustomEvent
This is used surprisingly often. For example, it is used by a core YouTube library called Structured Page Fragments. It allows you to manually dispatch an event with arbitrary data attached to it. The only thing missing from this implementation is the constructor. This is because WrapperGenerator is currently missing dictionary capabilities.
This commit is contained in:
parent
b04fafee74
commit
f7ac3545cc
8 changed files with 99 additions and 1 deletions
|
@ -62,6 +62,7 @@ class AbortController;
|
|||
class AbortSignal;
|
||||
class CharacterData;
|
||||
class Comment;
|
||||
class CustomEvent;
|
||||
class Document;
|
||||
class DocumentFragment;
|
||||
class DocumentLoadEventDelayer;
|
||||
|
@ -261,6 +262,7 @@ class CanvasRenderingContext2DWrapper;
|
|||
class CharacterDataWrapper;
|
||||
class CloseEventWrapper;
|
||||
class CommentWrapper;
|
||||
class CustomEventWrapper;
|
||||
class DocumentFragmentWrapper;
|
||||
class DocumentTypeWrapper;
|
||||
class DocumentWrapper;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue