Timothy Flynn
c3abb1396c
LibJS+LibWeb: Convert string view PrimitiveString instances to String
...
First, this adds an overload of PrimitiveString::create for StringView.
This overload will throw an OOM completion if creating a String fails.
This is not only a bit more convenient, but it also ensures at compile
time that all PrimitiveString::create(string_view) invocations will be
handled as String and OOM-aware.
Next, this wraps all invocations to PrimitiveString::create(string_view)
with MUST_OR_THROW_OOM.
A small PrimitiveString::create(DeprecatedFlyString) overload also had
to be added to disambiguate between the StringView and DeprecatedString
overloads.
2023-02-09 17:13:33 +00:00
..
2023-02-08 19:15:45 +00:00
2023-02-08 19:15:45 +00:00
2022-12-14 15:11:57 +01:00
2023-01-19 20:57:30 +00:00
2023-01-29 00:02:45 +00:00
2023-01-29 00:02:45 +00:00
2023-02-09 17:13:33 +00:00
2023-01-29 00:02:45 +00:00
2023-02-09 17:13:33 +00:00
2023-01-29 00:02:45 +00:00
2023-02-09 17:13:33 +00:00
2023-02-08 19:15:45 +00:00
2023-01-29 00:02:45 +00:00
2023-01-29 00:02:45 +00:00
2023-01-29 00:02:45 +00:00
2023-01-29 00:02:45 +00:00
2023-02-09 17:13:33 +00:00
2023-01-29 00:02:45 +00:00
2023-02-09 17:13:33 +00:00
2023-01-19 20:57:30 +00:00
2023-01-29 00:02:45 +00:00
2023-01-29 00:02:45 +00:00
2023-02-09 17:13:33 +00:00
2023-01-29 00:02:45 +00:00
2023-02-09 17:13:33 +00:00
2023-02-08 19:15:45 +00:00
2023-01-29 00:02:45 +00:00
2023-01-29 00:02:45 +00:00
2023-02-09 17:13:33 +00:00
2023-01-29 00:02:45 +00:00
2023-02-09 17:13:33 +00:00
2023-01-29 00:02:45 +00:00
2023-02-09 17:13:33 +00:00
2023-01-22 01:03:13 +00:00
2023-01-29 00:02:45 +00:00
2023-01-29 00:02:45 +00:00
2023-02-09 17:13:33 +00:00
2023-01-29 00:02:45 +00:00
2023-01-29 00:02:45 +00:00
2023-01-24 16:23:50 -05:00
2023-02-08 19:15:45 +00:00
2023-01-29 00:02:45 +00:00
2023-02-09 17:13:33 +00:00
2023-01-29 00:02:45 +00:00
2023-01-28 00:13:59 +00:00
2023-01-29 00:02:45 +00:00
2023-02-09 17:13:33 +00:00
2023-02-09 17:13:33 +00:00
2023-01-30 12:19:14 -05:00
2023-01-29 00:02:45 +00:00
2023-01-29 00:02:45 +00:00
2023-01-29 00:02:45 +00:00
2023-02-09 17:13:33 +00:00
2023-01-29 00:02:45 +00:00
2023-01-30 14:10:07 -05:00
2023-01-30 14:10:07 -05:00
2023-01-30 12:19:14 -05:00
2023-01-29 00:02:45 +00:00
2023-02-09 17:13:33 +00:00
2023-01-29 00:02:45 +00:00
2023-02-09 17:13:33 +00:00
2023-01-28 00:13:59 +00:00
2023-01-29 00:02:45 +00:00
2023-01-29 00:02:45 +00:00
2023-02-09 17:13:33 +00:00
2023-01-29 00:02:45 +00:00
2023-01-08 12:13:15 +01:00
2023-01-19 20:57:30 +00:00
2023-01-29 00:02:45 +00:00
2023-01-29 00:02:45 +00:00
2023-02-09 17:13:33 +00:00
2023-01-29 00:02:45 +00:00
2023-01-29 00:02:45 +00:00
2022-12-14 09:59:45 +00:00
2023-02-09 17:13:33 +00:00
2023-01-29 00:02:45 +00:00
2023-01-29 00:02:45 +00:00
2022-12-14 09:59:45 +00:00
2023-01-29 00:02:45 +00:00
2023-01-29 00:02:45 +00:00