mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 22:52:22 +02:00
LibWeb: Implement EventTarget.dispatchEvent
Used by Web Platform Tests to test events
This commit is contained in:
Notes:
sideshowbarker
2024-07-18 18:42:04 +09:00
Author: https://github.com/Lubrsi Commit: https://github.com/SerenityOS/serenity/commit/2cc6b919f7a Pull-request: https://github.com/SerenityOS/serenity/pull/6865
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user