mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-01 06:07:59 +00:00
The assertions can be hit when Temporal.Duration.prototype.round / total are provided a PlainDate at the very limits of valid date-times. Tests were recently added to test262 which trip these assertions, thus we are now crashing in those tests. Let's throw a RangeError instead, as this is the behavior expected by the tests.