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 LibJS: Only coerce value once in BigInt constructor 2022-08-03 20:59:59 +01:00
Boolean
DataView LibJS: Check for add overflow in DataViewConstructor 2022-06-27 20:51:00 +01:00
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 LibJS: Don't assume a this argument for function.prototype.bind 2022-08-17 23:56:24 +01:00
functions LibJS: Make parseFloat use the new double parser 2022-10-23 15:48:45 +02:00
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 LibJS: Fix that non-double numbers from JSON were truncated to i32 2022-10-23 15:48:45 +02:00
Map LibJS: Re-implement the Array Grouping proposal as static methods 2023-07-12 00:03:54 +02:00
Math LibJS: Enable commented out tests in Math.asin 2022-11-28 13:10:21 +01:00
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 LibJS: Guard against stack overflow in ProxyObject set_property() 2023-05-06 06:46:02 -07:00
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 LibJS: Add SuppressedError{, Prototype, Constructor} 2023-01-23 09:56:50 +00:00
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 LibJS: Protect CanonicalIndex against double-to-integer overflow 2022-12-07 16:43:19 +00:00
WeakMap LibJS: Remove bytecode condition from tests expected to fail 2023-08-09 20:47:44 +01:00
WeakRef LibJS: Implement WeakRef changes from 'Symbol as WeakMap Keys Proposal' 2022-06-23 10:57:52 +03:00
WeakSet LibJS: Remove bytecode condition from tests expected to fail 2023-08-09 20:47:44 +01:00