ladybird/Libraries/LibJS/Tests/builtins
Luke Wilde 0eceee0a05 LibJS: Replace Array.fromAsync with a native JavaScript implementation
This allows us to use the bytecode implementation of await, which
correctly suspends execution contexts and handles completion
injections.

This gains us 4 test262 tests around mutating Array.fromAsync's
iterable whilst it's suspended as well.

This is also one step towards removing spin_until, which the
non-bytecode implementation of await uses.

```
Duration:
     -5.98s

Summary:
    Diff Tests:
        +4     -4 

Diff Tests:
    [...]/Array/fromAsync/asyncitems-array-add-to-singleton.js  -> 
    [...]/Array/fromAsync/asyncitems-array-add.js               -> 
    [...]/Array/fromAsync/asyncitems-array-mutate.js            -> 
    [...]/Array/fromAsync/asyncitems-array-remove.js            -> 
```
2025-11-30 11:54:54 +01:00
..
AggregateError Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Array LibJS: Replace Array.fromAsync with a native JavaScript implementation 2025-11-30 11:54:54 +01:00
ArrayBuffer Meta: Increase the line length enforced by prettier to 120 2025-10-31 19:55:50 -04:00
AsyncDisposableStack Meta: Increase the line length enforced by prettier to 120 2025-10-31 19:55:50 -04:00
AsyncGenerator Meta: Increase the line length enforced by prettier to 120 2025-10-31 19:55:50 -04:00
Atomics Meta: Increase the line length enforced by prettier to 120 2025-10-31 19:55:50 -04:00
BigInt Meta: Increase the line length enforced by prettier to 120 2025-10-31 19:55:50 -04:00
Boolean Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
DataView Meta: Increase the line length enforced by prettier to 120 2025-10-31 19:55:50 -04:00
Date Meta: Increase the line length enforced by prettier to 120 2025-10-31 19:55:50 -04:00
DisposableStack Meta: Increase the line length enforced by prettier to 120 2025-10-31 19:55:50 -04:00
Error LibTest/Tests: Build and run test-js on windows 2025-06-05 22:00:55 -06:00
FinalizationRegistry Meta: Increase the line length enforced by prettier to 120 2025-10-31 19:55:50 -04:00
Function Meta: Increase the line length enforced by prettier to 120 2025-10-31 19:55:50 -04:00
functions Meta: Increase the line length enforced by prettier to 120 2025-10-31 19:55:50 -04:00
Infinity Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Intl LibJS: Remove "era" from Temporal's DateTimeFormat formatting options 2025-11-16 07:59:59 -05:00
Iterator Meta: Increase the line length enforced by prettier to 120 2025-10-31 19:55:50 -04:00
JSON Meta: Increase the line length enforced by prettier to 120 2025-10-31 19:55:50 -04:00
Map LibJS: Implement Map.prototype.getOrInsert[Computed] 2025-10-03 08:58:40 +02:00
Math LibJS: Avoid cast to out-of-range value in MathObject::abs() fast path 2025-11-30 11:54:02 +01:00
NaN Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Number Meta: Increase the line length enforced by prettier to 120 2025-10-31 19:55:50 -04:00
Object Meta: Increase the line length enforced by prettier to 120 2025-10-31 19:55:50 -04:00
Promise Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Proxy Meta: Increase the line length enforced by prettier to 120 2025-10-31 19:55:50 -04:00
Reflect Meta: Increase the line length enforced by prettier to 120 2025-10-31 19:55:50 -04:00
RegExp LibRegex: Add support for string literals in character classes 2025-11-26 11:34:38 +01:00
Set Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
ShadowRealm Meta: Increase the line length enforced by prettier to 120 2025-10-31 19:55:50 -04:00
SharedArrayBuffer Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
String Meta: Increase the line length enforced by prettier to 120 2025-10-31 19:55:50 -04:00
SuppressedError Meta: Increase the line length enforced by prettier to 120 2025-10-31 19:55:50 -04:00
Symbol Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Temporal LibJS: Use relative date in NudgeToCalendarUnit when comparing durations 2025-11-20 08:28:51 -05:00
TypedArray Meta: Increase the line length enforced by prettier to 120 2025-10-31 19:55:50 -04:00
WeakMap LibJS: Implement WeakMap.prototype.getOrInsert[Computed] 2025-10-03 08:58:40 +02:00
WeakRef Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
WeakSet Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00