ladybird/Userland/Libraries/LibWeb/XHR
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
..
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
FormData.cpp LibWeb: Add FormDataIterator implementation 2023-03-08 18:57:36 +00:00
FormData.h LibWeb: Add FormDataIterator implementation 2023-03-08 18:57:36 +00:00
FormData.idl LibWeb: Add FormDataIterator implementation 2023-03-08 18:57:36 +00:00
FormDataIterator.cpp LibJS+LibWeb: Wrap raw JS::Cell*/& fields in GCPtr/NonnullGCPtr 2023-03-15 08:48:49 +01:00
FormDataIterator.h LibJS+LibWeb: Wrap raw JS::Cell*/& fields in GCPtr/NonnullGCPtr 2023-03-15 08:48:49 +01:00
ProgressEvent.cpp LibWeb: Port ProgressEvent to new String 2023-03-05 18:25:59 +00:00
ProgressEvent.h LibWeb: Port ProgressEvent to new String 2023-03-05 18:25:59 +00:00
ProgressEvent.idl LibWeb: Port ProgressEvent to new String 2023-03-05 18:25:59 +00:00
XMLHttpRequest.cpp LibWeb: Refactor XHR (almost) exactly to the spec 2023-03-07 11:51:12 +00:00
XMLHttpRequest.h LibWeb: Refactor XHR (almost) exactly to the spec 2023-03-07 11:51:12 +00:00
XMLHttpRequest.idl LibWeb: Refactor XHR (almost) exactly to the spec 2023-03-07 11:51:12 +00:00
XMLHttpRequestEventTarget.cpp LibWeb: Move CallbackType from Bindings/ to WebIDL/ 2022-09-24 19:31:39 +01:00
XMLHttpRequestEventTarget.h LibWeb: Move CallbackType from Bindings/ to WebIDL/ 2022-09-24 19:31:39 +01:00
XMLHttpRequestEventTarget.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
XMLHttpRequestUpload.cpp LibWeb: Refactor XHR (almost) exactly to the spec 2023-03-07 11:51:12 +00:00
XMLHttpRequestUpload.h LibWeb: Refactor XHR (almost) exactly to the spec 2023-03-07 11:51:12 +00:00
XMLHttpRequestUpload.idl LibWeb: Refactor XHR (almost) exactly to the spec 2023-03-07 11:51:12 +00:00