mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 05:39:11 +00:00
LibWeb: Port {Mouse,UI,Wheel,}Event to new String
This ports MouseEvent, UIEvent, WheelEvent, and Event to new String. They all had a dependency to T::create() in WebDriverConnection::fire_an_event() and therefore had to be ported in the same commit.
This commit is contained in:
parent
e0002aa993
commit
ad5cbdc51b
Notes:
sideshowbarker
2024-07-17 06:38:11 +09:00
Author: https://github.com/kennethmyhra
Commit: ad5cbdc51b
Pull-request: https://github.com/SerenityOS/serenity/pull/18215
Reviewed-by: https://github.com/awesomekling
48 changed files with 160 additions and 160 deletions
|
@ -20,7 +20,7 @@ WebIDL::ExceptionOr<JS::NonnullGCPtr<ErrorEvent>> ErrorEvent::construct_impl(JS:
|
|||
}
|
||||
|
||||
ErrorEvent::ErrorEvent(JS::Realm& realm, FlyString const& event_name, ErrorEventInit const& event_init)
|
||||
: DOM::Event(realm, event_name.to_deprecated_fly_string())
|
||||
: DOM::Event(realm, event_name)
|
||||
, m_message(event_init.message)
|
||||
, m_filename(event_init.filename)
|
||||
, m_lineno(event_init.lineno)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue