ladybird/Userland/Libraries/LibJS/Runtime/Temporal
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
..
AbstractOperations.cpp LibJS+Everywhere: Make PrimitiveString and Utf16String fallible 2023-01-08 12:13:15 +01:00
AbstractOperations.h LibJS: Rename ToIntegerThrowOnInfinity to ToIntegerWithTruncation 2023-01-06 11:16:55 +01:00
Calendar.cpp LibJS+Everywhere: Make PrimitiveString and Utf16String fallible 2023-01-08 12:13:15 +01:00
Calendar.h LibJS: Convert calendar operation results to floats 2023-01-05 19:49:09 +01:00
CalendarConstructor.cpp LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
CalendarConstructor.h LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
CalendarPrototype.cpp LibJS+Everywhere: Make PrimitiveString and Utf16String fallible 2023-01-08 12:13:15 +01:00
CalendarPrototype.h LibJS: Add yearOfWeek calendar methods and properties 2022-12-26 09:30:36 +01:00
Duration.cpp LibJS: Replace "is not zero" language in Temporal comments 2023-01-06 11:16:55 +01:00
Duration.h
DurationConstructor.cpp LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
DurationConstructor.h LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
DurationPrototype.cpp
DurationPrototype.h
Instant.cpp LibJS: Convert ordinary_create_from_constructor() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
Instant.h
InstantConstructor.cpp LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
InstantConstructor.h LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
InstantPrototype.cpp
InstantPrototype.h
ISO8601.cpp
ISO8601.h
Now.cpp
Now.h
PlainDate.cpp LibJS: Convert ordinary_create_from_constructor() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
PlainDate.h
PlainDateConstructor.cpp LibJS: Rename ToIntegerThrowOnInfinity to ToIntegerWithTruncation 2023-01-06 11:16:55 +01:00
PlainDateConstructor.h LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
PlainDatePrototype.cpp LibJS: Convert calendar operation results to floats 2023-01-05 19:49:09 +01:00
PlainDatePrototype.h LibJS: Add yearOfWeek calendar methods and properties 2022-12-26 09:30:36 +01:00
PlainDateTime.cpp LibJS: Convert ordinary_create_from_constructor() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
PlainDateTime.h
PlainDateTimeConstructor.cpp LibJS: Rename ToIntegerThrowOnInfinity to ToIntegerWithTruncation 2023-01-06 11:16:55 +01:00
PlainDateTimeConstructor.h LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
PlainDateTimePrototype.cpp LibJS: Convert calendar operation results to floats 2023-01-05 19:49:09 +01:00
PlainDateTimePrototype.h LibJS: Add yearOfWeek calendar methods and properties 2022-12-26 09:30:36 +01:00
PlainMonthDay.cpp LibJS: Convert ordinary_create_from_constructor() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
PlainMonthDay.h
PlainMonthDayConstructor.cpp LibJS: Rename ToIntegerThrowOnInfinity to ToIntegerWithTruncation 2023-01-06 11:16:55 +01:00
PlainMonthDayConstructor.h LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
PlainMonthDayPrototype.cpp
PlainMonthDayPrototype.h
PlainTime.cpp LibJS: Convert ordinary_create_from_constructor() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
PlainTime.h
PlainTimeConstructor.cpp LibJS: Rename ToIntegerThrowOnInfinity to ToIntegerWithTruncation 2023-01-06 11:16:55 +01:00
PlainTimeConstructor.h LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
PlainTimePrototype.cpp
PlainTimePrototype.h
PlainYearMonth.cpp LibJS: Fix spec link and spec comment in PlainYearMonth 2022-12-31 00:05:20 +01:00
PlainYearMonth.h
PlainYearMonthConstructor.cpp LibJS: Rename ToIntegerThrowOnInfinity to ToIntegerWithTruncation 2023-01-06 11:16:55 +01:00
PlainYearMonthConstructor.h LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
PlainYearMonthPrototype.cpp LibJS: Convert calendar operation results to floats 2023-01-05 19:49:09 +01:00
PlainYearMonthPrototype.h
Temporal.cpp
Temporal.h
TimeZone.cpp LibJS: Convert ordinary_create_from_constructor() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
TimeZone.h
TimeZoneConstructor.cpp LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
TimeZoneConstructor.h LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
TimeZonePrototype.cpp
TimeZonePrototype.h
ZonedDateTime.cpp LibJS: Convert ordinary_create_from_constructor() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
ZonedDateTime.h
ZonedDateTimeConstructor.cpp LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
ZonedDateTimeConstructor.h LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
ZonedDateTimePrototype.cpp LibJS+Everywhere: Make PrimitiveString and Utf16String fallible 2023-01-08 12:13:15 +01:00
ZonedDateTimePrototype.h LibJS: Add yearOfWeek calendar methods and properties 2022-12-26 09:30:36 +01:00