ladybird/Tests/LibJS
Andreas Kling 410f0fdbb0 LibJS: Yield delegated iterator results directly
Sync yield* must suspend with the delegated IteratorResult object itself
on non-terminal steps. We were reading value and yielding that value,
causing Generator.prototype.next() to create a fresh result object.

Add a bytecode op for this path so ordinary yield keeps wrapping its
value, and teach generator resume to return the prebuilt result object.
This also avoids touching value before the delegated iterator is done.

Add regression coverage and update the yield* bytecode baseline.
2026-05-22 01:56:57 +02:00
..
AST LibJS: Fix destructured primitive string const loops 2026-05-22 01:56:57 +02:00
Bytecode LibJS: Yield delegated iterator results directly 2026-05-22 01:56:57 +02:00
Runtime LibJS: Yield delegated iterator results directly 2026-05-22 01:56:57 +02:00
CMakeLists.txt LibJS: Materialize decoded bytecode cache blobs 2026-05-06 08:20:06 +02:00
test-bytecode-cache.cpp LibJS: Lazily map UTF-8 source offsets 2026-05-19 17:58:08 +02:00
test-js-ast.py LibJS: Support .mjs files in test-js-ast and test-js-bytecode 2026-02-19 12:02:50 +01:00
test-js-bytecode.py LibJS: Support .mjs files in test-js-ast and test-js-bytecode 2026-02-19 12:02:50 +01:00
test-js.cpp LibCore: Keep ICU and libc time zones in sync 2026-05-20 07:26:23 -04:00
test-primitive-string.cpp LibJS: Avoid ropes for short flat string concatenations 2026-04-30 16:25:52 +02:00
test-value-js.cpp LibJS: Make Value() default-construct the undefined value 2025-04-05 11:20:26 +02:00