1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 16:18:12 +00:00

LibWeb: Implement EventTarget.dispatchEvent

Used by Web Platform Tests to test events
This commit is contained in:
Luke 2021-05-04 22:38:36 +01:00 committed by Linus Groh
parent 7f6baf8b17
commit 2cc6b919f7
4 changed files with 23 additions and 0 deletions

View file

@ -499,6 +499,8 @@ static bool is_wrappable_type(const IDL::Type& type)
return true;
if (type.name.ends_with("Element"))
return true;
if (type.name.ends_with("Event"))
return true;
if (type.name == "ImageData")
return true;
return false;