ladybird/Userland/Libraries/LibJS/Runtime/Temporal
davidot 791855deab LibCrypto+LibJS: Remove the create_from methods from BigInteger
Instead we just use a specific constructor. With this set of
constructors using curly braces for constructing is highly recommended.
As then it will not do too many implicit conversions which could lead to
unexpected loss of data or calling the much slower double constructor.

Also to ensure we don't feed (Un)SignedBigInteger infinities we throw
RangeError earlier for Durations.
2022-08-26 19:18:26 +01:00
..
AbstractOperations.cpp LibCrypto+LibJS: Remove the create_from methods from BigInteger 2022-08-26 19:18:26 +01:00
AbstractOperations.h LibJS: Replace GlobalObject with VM in Value AOs [Part 4/19] 2022-08-23 13:58:30 +01:00
Calendar.cpp LibJS: Allow undefined for calendar in MaybeFormatCalendarAnnotation 2022-08-25 23:41:09 +01:00
Calendar.h LibJS: Allow undefined for calendar in MaybeFormatCalendarAnnotation 2022-08-25 23:41:09 +01:00
CalendarConstructor.cpp LibJS: Pass Realm to define_native_{accessor,function}() 2022-08-23 13:58:30 +01:00
CalendarConstructor.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
CalendarPrototype.cpp LibCrypto+LibJS: Remove the create_from methods from BigInteger 2022-08-26 19:18:26 +01:00
CalendarPrototype.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
Duration.cpp LibCrypto+LibJS: Remove the create_from methods from BigInteger 2022-08-26 19:18:26 +01:00
Duration.h LibJS: Replace GlobalObject with VM in Temporal AOs [Part 2/19] 2022-08-23 13:58:30 +01:00
DurationConstructor.cpp LibCrypto+LibJS: Remove the create_from methods from BigInteger 2022-08-26 19:18:26 +01:00
DurationConstructor.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
DurationPrototype.cpp LibCrypto+LibJS: Remove the create_from methods from BigInteger 2022-08-26 19:18:26 +01:00
DurationPrototype.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
Instant.cpp LibCrypto+LibJS: Remove the create_from methods from BigInteger 2022-08-26 19:18:26 +01:00
Instant.h LibJS: Replace GlobalObject with VM in Temporal AOs [Part 2/19] 2022-08-23 13:58:30 +01:00
InstantConstructor.cpp LibJS: Pass Realm to define_native_{accessor,function}() 2022-08-23 13:58:30 +01:00
InstantConstructor.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
InstantPrototype.cpp LibJS: Pass Realm to define_native_{accessor,function}() 2022-08-23 13:58:30 +01:00
InstantPrototype.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
ISO8601.cpp LibJS: Reject ambiguous time string even with a calendar 2022-08-25 23:41:09 +01:00
ISO8601.h LibJS: Remove unused nonterminals from the ISO8601 parser 2022-08-25 23:41:09 +01:00
Now.cpp LibCrypto+LibJS: Remove the create_from methods from BigInteger 2022-08-26 19:18:26 +01:00
Now.h LibJS: Replace GlobalObject with VM in Temporal AOs [Part 2/19] 2022-08-23 13:58:30 +01:00
PlainDate.cpp LibJS: Avoid calling ToString on calendar when calendarName is "never" 2022-08-25 21:11:23 +01:00
PlainDate.h LibJS: Replace GlobalObject with VM in Temporal AOs [Part 2/19] 2022-08-23 13:58:30 +01:00
PlainDateConstructor.cpp LibJS: Pass Realm to define_native_{accessor,function}() 2022-08-23 13:58:30 +01:00
PlainDateConstructor.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
PlainDatePrototype.cpp LibJS: Pass Realm to define_native_{accessor,function}() 2022-08-23 13:58:30 +01:00
PlainDatePrototype.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
PlainDateTime.cpp LibCrypto+LibJS: Remove the create_from methods from BigInteger 2022-08-26 19:18:26 +01:00
PlainDateTime.h LibJS: Allow undefined for calendar in MaybeFormatCalendarAnnotation 2022-08-25 23:41:09 +01:00
PlainDateTimeConstructor.cpp LibJS: Pass Realm to define_native_{accessor,function}() 2022-08-23 13:58:30 +01:00
PlainDateTimeConstructor.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
PlainDateTimePrototype.cpp LibJS: Pass Realm to define_native_{accessor,function}() 2022-08-23 13:58:30 +01:00
PlainDateTimePrototype.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
PlainMonthDay.cpp LibJS+LibWeb: Reduce use of GlobalObject as an intermediary 2022-08-23 13:58:30 +01:00
PlainMonthDay.h LibJS: Replace GlobalObject with VM in Temporal AOs [Part 2/19] 2022-08-23 13:58:30 +01:00
PlainMonthDayConstructor.cpp LibJS: Pass Realm to define_native_{accessor,function}() 2022-08-23 13:58:30 +01:00
PlainMonthDayConstructor.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
PlainMonthDayPrototype.cpp LibJS: Pass Realm to define_native_{accessor,function}() 2022-08-23 13:58:30 +01:00
PlainMonthDayPrototype.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
PlainTime.cpp LibJS+LibWeb: Reduce use of GlobalObject as an intermediary 2022-08-23 13:58:30 +01:00
PlainTime.h LibJS: Replace GlobalObject with VM in Temporal AOs [Part 2/19] 2022-08-23 13:58:30 +01:00
PlainTimeConstructor.cpp LibJS: Pass Realm to define_native_{accessor,function}() 2022-08-23 13:58:30 +01:00
PlainTimeConstructor.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
PlainTimePrototype.cpp LibJS: Pass Realm to define_native_{accessor,function}() 2022-08-23 13:58:30 +01:00
PlainTimePrototype.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
PlainYearMonth.cpp LibCrypto+LibJS: Remove the create_from methods from BigInteger 2022-08-26 19:18:26 +01:00
PlainYearMonth.h LibJS: Replace GlobalObject with VM in Temporal AOs [Part 2/19] 2022-08-23 13:58:30 +01:00
PlainYearMonthConstructor.cpp LibJS: Pass Realm to define_native_{accessor,function}() 2022-08-23 13:58:30 +01:00
PlainYearMonthConstructor.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
PlainYearMonthPrototype.cpp LibJS: Pass Realm to define_native_{accessor,function}() 2022-08-23 13:58:30 +01:00
PlainYearMonthPrototype.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
Temporal.cpp LibJS+LibWeb: Replace GlobalObject with Realm in Heap::allocate<T>() 2022-08-23 13:58:30 +01:00
Temporal.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
TimeZone.cpp LibCrypto+LibJS: Remove the create_from methods from BigInteger 2022-08-26 19:18:26 +01:00
TimeZone.h LibJS: Replace GlobalObject with VM in Temporal AOs [Part 2/19] 2022-08-23 13:58:30 +01:00
TimeZoneConstructor.cpp LibJS: Pass Realm to define_native_{accessor,function}() 2022-08-23 13:58:30 +01:00
TimeZoneConstructor.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
TimeZonePrototype.cpp LibCrypto+LibJS: Remove the create_from methods from BigInteger 2022-08-26 19:18:26 +01:00
TimeZonePrototype.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
ZonedDateTime.cpp LibCrypto+LibJS: Remove the create_from methods from BigInteger 2022-08-26 19:18:26 +01:00
ZonedDateTime.h LibJS: Replace GlobalObject with VM in Temporal AOs [Part 2/19] 2022-08-23 13:58:30 +01:00
ZonedDateTimeConstructor.cpp LibJS: Pass Realm to define_native_{accessor,function}() 2022-08-23 13:58:30 +01:00
ZonedDateTimeConstructor.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00
ZonedDateTimePrototype.cpp LibJS: Pass Realm to define_native_{accessor,function}() 2022-08-23 13:58:30 +01:00
ZonedDateTimePrototype.h LibJS+LibWeb: Replace GlobalObject with Realm in initialize() functions 2022-08-23 13:58:30 +01:00