mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 13:19:05 +00:00
LibWeb: Implement EventTarget.dispatchEvent
Used by Web Platform Tests to test events
This commit is contained in:
parent
7f6baf8b17
commit
2cc6b919f7
Notes:
sideshowbarker
2024-07-18 18:42:04 +09:00
Author: https://github.com/Lubrsi
Commit: 2cc6b919f7
Pull-request: https://github.com/SerenityOS/serenity/pull/6865
4 changed files with 23 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue