1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-10-16 04:22:24 +00:00
serenity/Userland/Libraries/LibJS/Tests/builtins
Shannon Booth bb8dad5bb0 LibJS: Begin using CalendarMethodsRecord for AOs
This begins the process of aligning our implementation with the spec
with regard to using CalendarMethodsRecord. The main intent here is to
make it much easier to make normative changes to AOs which have been
updated to CalendarMethodsRecord.

While this does resolve various FIXMEs, many others above need to be
added in order to be able to pass through a CalendarMethodsRecord. The
use here aligns with what I can gather from the spec of what the
arguments to CreateCalendarMethodsRecord should be, but various AOs have
been updated so much with other changes it's not completely obvious.
Other AOs do not even exist in the latest version of the spec, but we
still rely on them.

As part of these updates, this commit coincidentally also fixes two
PlainDate roundingmode issues seen in test262 - a test of which is also
added in test-js. This issue boiled down to what appears to be an
observable optimization in the spec, where it can avoid calling
dateUntil in certain situations (roundingGranularityIsNoop).

However, the main goal here is to make it much easier to fix many more
issues in the future :^)

since/calendar-dateuntil-called-with-singular-largestunit.js  -> 
until/calendar-dateuntil-called-with-singular-largestunit.js  -> 
2024-02-16 12:27:23 -05:00
..
AggregateError
Array
ArrayBuffer LibJS: Implement missing steps from the ArrayBuffer transfer proposal 2023-12-29 09:25:41 +01:00
AsyncGenerator
Atomics LibJS: Change error message for values that must be a SharedArrayBuffer 2023-12-29 09:25:41 +01:00
BigInt
Boolean
DataView LibJS+LibWeb: Implement resizable ArrayBuffer support for DataView 2023-12-26 11:16:10 +01:00
Date LibJS: Support more weird date formats found on the web 2024-02-03 09:29:40 +01:00
DisposableStack
Error
FinalizationRegistry
Function
functions
Infinity
Intl LibJS: Change Intl.Locale info APIs from property getters to methods 2023-11-13 20:10:58 +01:00
Iterator
JSON
Map
Math
NaN
Number
Object LibJS: Introduce "dictionary" mode for object shapes 2023-12-16 14:25:58 +01:00
Promise
Proxy
Reflect
RegExp
Set
ShadowRealm LibJS: Add basic support for module code with top-level await 2023-12-06 12:58:04 +01:00
SharedArrayBuffer LibJS: Implement missing checks for SharedArrayBuffer values 2023-12-29 09:25:41 +01:00
String
SuppressedError
Symbol
Temporal LibJS: Begin using CalendarMethodsRecord for AOs 2024-02-16 12:27:23 -05:00
TypedArray LibJS: Implement missing conditional when creating a TypedArray subarray 2023-12-28 08:19:02 -05:00
WeakMap
WeakRef
WeakSet