diff options
author | Timothy Flynn <trflynn89@pm.me> | 2023-01-07 12:24:05 -0500 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2023-01-08 12:13:15 +0100 |
commit | 115baa7e32ba30cc409d52546a78ee97a9cd4f76 (patch) | |
tree | a1c12e8c450a667aa99c9f403c3ef0ce830f4dde /Kernel/ProcessGroup.cpp | |
parent | d793262beba3a113bed4c728b572a78583b43277 (diff) | |
download | serenity-115baa7e32ba30cc409d52546a78ee97a9cd4f76.zip |
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.
Diffstat (limited to 'Kernel/ProcessGroup.cpp')
0 files changed, 0 insertions, 0 deletions