Files
ladybird/Tests/LibWeb/Crash/JS
Tim Ledbetter 17ea7b5f86 LibJS: Handle proxy-wrapped arrays in console.table()
Previously, we would crash if `console.table()` was called with a
proxy-wrapped array. This is because `Value::is_array()` returns true
for proxy-wrapped arrays but `as_array()` simply casts to an Array
object. We now treat these objects as array-like and access elements
generically through the Object interface, which correctly dispatches
through Proxy traps.
2026-03-29 13:45:38 +02:00
..