1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 09:35:09 +00:00
serenity/Userland/Libraries/LibJS/Contrib/Test262
Timothy Flynn 115baa7e32 LibJS+Everywhere: Make PrimitiveString and Utf16String fallible
This makes construction of Utf16String fallible in OOM conditions. The
immediate impact is that PrimitiveString must then be fallible as well,
as it may either transcode UTF-8 to UTF-16, or create a UTF-16 string
from ropes.

There are a couple of places where it is very non-trivial to propagate
the error further. A FIXME has been added to those locations.
2023-01-08 12:13:15 +01:00
..
$262Object.cpp LibJS: Convert Heap::allocate{,_without_realm}() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
$262Object.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
AgentObject.cpp LibJS: Pass Realm to define_native_{accessor,function}() 2022-08-23 13:58:30 +01:00
AgentObject.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
GlobalObject.cpp LibJS: Turn initialize_global_object() into a regular initialize() 2022-08-28 16:36:56 +01:00
GlobalObject.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00
IsHTMLDDA.cpp LibJS+Everywhere: Make PrimitiveString and Utf16String fallible 2023-01-08 12:13:15 +01:00
IsHTMLDDA.h LibJS: Hide all the constructors! 2022-08-29 03:24:54 +02:00