ladybird/Userland/Libraries/LibJS/Tests/builtins
Jesús (gsus) Lapastora 2086b8df9c LibJS/Date: Ensure YearFromTime(t) holds invariant after approximation
As of https://tc39.es/ecma262/#sec-yearfromtime, YearFromTime(t) should
return `y` such that `TimeFromYear(YearFromTime(t)) <= t`. This wasn't
held, since the approximation contained decimal digits that would nudge
the final value in the wrong direction.

Adapted from Kiesel:
6548a85743

Co-authored-by: Linus Groh <mail@linusgroh.de>
2023-10-23 09:26:55 -04:00
..
AggregateError
Array LibJS: Allow assignment expression in spreading property definition 2023-08-29 18:46:01 -04:00
ArrayBuffer LibJS: Disallow creating ArrayBuffers larger than 2^53 - 1 2023-05-26 05:23:55 +02:00
AsyncGenerator LibJS: Implement await properly for async functions 2023-08-10 05:12:07 +02:00
Atomics
BigInt
Boolean
DataView
Date LibJS/Date: Ensure YearFromTime(t) holds invariant after approximation 2023-10-23 09:26:55 -04:00
DisposableStack LibJS: Remove bytecode condition from tests expected to fail 2023-08-09 20:47:44 +01:00
Error LibJS: Add file & line number to bytecode VM stack traces :^) 2023-09-02 15:37:53 +02:00
FinalizationRegistry LibJS: Remove bytecode condition from tests expected to fail 2023-08-09 20:47:44 +01:00
Function
functions
Infinity
Intl LibLocale: Parse day-period hour cycle preferences 2023-10-05 17:01:02 +02:00
Iterator LibJS: Implement %IteratorHelperPrototype%.return 2023-07-16 23:56:55 +01:00
JSON
Map LibJS: Re-implement the Array Grouping proposal as static methods 2023-07-12 00:03:54 +02:00
Math
NaN
Number LibJS: Support large number of decimals in Number.prototype.toFixed 2023-10-18 19:39:30 -04:00
Object LibJS: Re-implement the Array Grouping proposal as static methods 2023-07-12 00:03:54 +02:00
Promise LibJS: Implement the Promise.withResolvers proposal 2023-07-13 00:02:19 +02:00
Proxy
Reflect
RegExp LibJS: Unescape incorrectly escaped code units in regex patterns 2023-09-16 15:21:09 +02:00
Set LibJS: Disallow negative set record sizes 2023-07-18 12:31:10 +01:00
ShadowRealm LibJS: Remove bytecode condition from tests expected to fail 2023-08-09 20:47:44 +01:00
SharedArrayBuffer LibJS: Add initial implementation for SharedArrayBuffer 2023-07-01 16:55:17 +01:00
String LibJS: Behave like major engines when substituting missing capture group 2023-08-29 10:33:48 +02:00
SuppressedError
Symbol LibJS: Uncomment passing tests 2023-08-08 15:09:53 +02:00
Temporal LibJS: Disable Temporal custom time zone test 2023-10-18 16:29:27 -04:00
TypedArray
WeakMap LibJS: Remove bytecode condition from tests expected to fail 2023-08-09 20:47:44 +01:00
WeakRef
WeakSet LibJS: Remove bytecode condition from tests expected to fail 2023-08-09 20:47:44 +01:00