mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 02:40:49 +00:00
These methods were overriding properties specified by the EventInit property bags in the constructor for WheelEvent and MouseEvent. They appear to be legacy code and no longer relevant, as they would have been used for ensuring natively dispatched events had the correct properties --- This is now done in separate create methods, such as MouseEvent::create_from_platform_event. This fixes a couple WPT failures (e.g. in /dom/events/Event-subclasses-constructors.html)
221 KiB
221 KiB