ladybird/Userland/Libraries/LibWeb/UIEvents
Timothy Flynn db2ba5f1d9 LibWeb: Initialize static web strings during main-thread VM creation
These are currently initialized in a [[gnu::constructor]], which has a
weird initialization order. These constructors are invoked before main()
and, incidentally, before any user-defined default constructors of the
static strings they are initializing.

This will become an issue when these strings are ported to FlyString,
which has a user-defined default constructor. In that scenario, when the
FlyString constructor is executed after the [[gnu::constructor]], the
strings will be "reset" to the empty string.

Instead of relying on a non-standard compiler extension here, let's just
initialize these strings explicitly during main-thread VM creation, as
this now happens in WebContent's main().
2023-03-18 19:50:45 +01:00
..
EventModifier.h LibWeb: Add the missing KeyboardEvent IDL constructor 2021-10-01 20:14:45 +02:00
EventModifier.idl LibWeb: Add the missing KeyboardEvent IDL constructor 2021-10-01 20:14:45 +02:00
EventNames.cpp LibWeb: Initialize static web strings during main-thread VM creation 2023-03-18 19:50:45 +01:00
EventNames.h LibWeb: Initialize static web strings during main-thread VM creation 2023-03-18 19:50:45 +01:00
FocusEvent.cpp LibWeb: Make factory method of UIEvents::FocusEvent fallible 2023-02-22 09:55:33 +01:00
FocusEvent.h LibWeb: Make factory method of UIEvents::FocusEvent fallible 2023-02-22 09:55:33 +01:00
FocusEvent.idl LibWeb: Remove the NoInstanceWrapper extended IDL attribute 2022-09-06 00:27:09 +02:00
KeyboardEvent.cpp LibWeb: Make factory methods of UIEvents::KeyboardEvent fallible 2023-02-22 09:55:33 +01:00
KeyboardEvent.h LibWeb: Make factory methods of UIEvents::KeyboardEvent fallible 2023-02-22 09:55:33 +01:00
KeyboardEvent.idl LibWeb: Remove the NoInstanceWrapper extended IDL attribute 2022-09-06 00:27:09 +02:00
MouseEvent.cpp LibWeb: Make factory methods of DOM::Event fallible 2023-02-18 00:52:47 +01:00
MouseEvent.h LibWeb: Make factory methods of DOM::Event fallible 2023-02-18 00:52:47 +01:00
MouseEvent.idl LibWeb: Support MouseEvent.{pageX,pageY} 2022-12-31 16:17:48 +01:00
UIEvent.cpp LibWeb: Make factory methods of UIEvents::UIEvent fallible 2023-02-22 09:55:33 +01:00
UIEvent.h LibWeb: Make factory methods of UIEvents::UIEvent fallible 2023-02-22 09:55:33 +01:00
UIEvent.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
WheelEvent.cpp LibWeb: Make factory methods of UIEvents::WheelEvent fallible 2023-02-22 09:55:33 +01:00
WheelEvent.h LibWeb: Make factory methods of UIEvents::WheelEvent fallible 2023-02-22 09:55:33 +01:00
WheelEvent.idl LibWeb: Dispatch "wheel" event 2022-10-23 15:58:16 +02:00