ladybird/Tests/LibJS
Andreas Kling 22e1df58d3 LibJS: Delete through optional chain property references
The delete operator needs the Reference produced by an optional chain
when the chain ends in a property access. We evaluated the chain for
side effects and returned true, so delete object?.property reported
success without removing the property.

Emit delete-specific optional-chain bytecode. It short-circuits to true
for nullish optional hops, but performs DeleteById or DeleteByValue
when the final property reference is reached. Add runtime coverage for
named, computed, and short-circuited optional deletes.
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: Delete through optional chain property references 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 LibJS: Cache entry modules before loading imports 2026-05-22 01:56:57 +02: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