mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:27:35 +00:00
LibWeb: Implement EventTarget.dispatchEvent
Used by Web Platform Tests to test events
This commit is contained in:
parent
7f6baf8b17
commit
2cc6b919f7
4 changed files with 23 additions and 0 deletions
|
@ -1,6 +1,9 @@
|
|||
interface EventTarget {
|
||||
|
||||
// FIXME: Both of these should take in options
|
||||
undefined addEventListener(DOMString type, EventListener? callback);
|
||||
undefined removeEventListener(DOMString type, EventListener? callback);
|
||||
|
||||
[ImplementedAs=dispatch_event_binding] boolean dispatchEvent(Event event);
|
||||
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue