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
..
2023-02-18 00:52:47 +01:00
2023-02-18 00:52:47 +01:00
2023-02-18 00:52:47 +01:00
2023-02-18 00:52:47 +01:00
2023-01-29 00:02:45 +00:00
2023-01-29 00:02:45 +00:00
2023-03-15 08:48:49 +01:00
2023-03-15 08:48:49 +01:00
2023-03-10 14:56:29 +01:00
2023-03-10 14:56:29 +01:00
2023-01-29 00:02:45 +00:00
2023-01-29 00:02:45 +00:00
2023-02-18 00:52:47 +01:00
2023-01-29 00:02:45 +00:00
2023-03-06 13:05:43 +00:00
2023-02-18 00:52:47 +01:00
2023-02-18 00:52:47 +01:00
2023-02-18 00:52:47 +01:00
2023-02-18 00:52:47 +01:00
2023-03-11 17:53:50 +00:00
2023-03-15 08:48:49 +01:00
2023-03-10 14:56:03 +01:00
2023-02-18 00:52:47 +01:00
2023-02-18 00:52:47 +01:00
2023-02-18 00:52:47 +01:00
2023-02-18 00:52:47 +01:00
2023-01-09 23:00:24 +00:00
2023-02-22 09:55:33 +01:00
2023-03-15 08:48:49 +01:00
2023-03-06 13:05:43 +00:00
2023-03-06 13:05:43 +00:00
2023-03-10 14:56:29 +01:00
2023-03-10 14:56:29 +01:00
2023-03-10 14:56:29 +01:00
2023-03-10 13:15:44 +01:00
2023-02-22 09:55:33 +01:00
2023-02-18 00:52:47 +01:00
2023-02-18 00:52:47 +01:00
2023-03-15 08:48:49 +01:00
2023-03-18 16:37:09 +01:00
2023-03-07 11:51:12 +00:00
2023-02-28 12:36:14 +01:00
2023-02-28 12:36:14 +01:00
2023-02-22 09:55:33 +01:00
2023-02-22 09:55:33 +01:00
2023-02-18 00:52:47 +01:00
2023-02-18 00:52:47 +01:00
2023-03-15 08:48:49 +01:00
2023-03-06 23:46:35 +01:00
2023-03-06 13:05:43 +00:00
2023-03-06 13:05:43 +00:00
2023-03-18 19:50:45 +01:00
2023-03-18 19:50:45 +01:00
2023-03-10 14:56:29 +01:00
2023-03-10 14:56:29 +01:00
2023-03-15 08:48:49 +01:00
2023-03-15 08:48:49 +01:00
2023-03-15 08:48:49 +01:00
2023-03-15 08:48:49 +01:00
2023-02-18 00:52:47 +01:00
2023-02-18 00:52:47 +01:00
2023-02-28 12:36:14 +01:00
2023-02-28 12:36:14 +01:00
2023-01-29 00:02:45 +00:00
2023-03-06 13:05:43 +00:00
2023-02-18 00:52:47 +01:00
2023-01-09 23:00:24 +00:00
2023-03-01 14:24:01 +00:00
2023-03-01 14:24:01 +00:00
2023-01-29 00:02:45 +00:00
2023-01-29 00:02:45 +00:00
2023-01-09 23:00:24 +00:00
2023-01-09 23:00:24 +00:00
2023-03-10 14:58:55 +01:00
2023-03-10 14:58:55 +01:00
2023-03-10 14:58:55 +01:00
2023-02-02 14:43:29 +01:00
2023-02-02 14:43:29 +01:00
2023-02-02 14:43:29 +01:00
2023-03-15 08:48:49 +01:00
2023-03-15 08:48:49 +01:00
2023-02-18 00:52:47 +01:00
2023-02-18 00:52:47 +01:00
2023-02-18 00:52:47 +01:00
2023-02-18 00:52:47 +01:00
2023-02-18 00:52:47 +01:00
2023-02-18 00:52:47 +01:00