ladybird/Tests/LibJS/Runtime/builtins/Array
Andreas Kling bdb16434cc LibJS: Preserve sparse elements below length failures
ArraySetLength deletes array index properties in descending order. When
a non-configurable index cannot be deleted, the length is restored to
that index plus one, and lower indexes are not touched.

The dictionary indexed storage path already restored the final length,
but removed configurable entries below the failing index too. Keep those
entries when truncation stops early and add sparse array coverage.
2026-05-22 01:56:57 +02:00
..
array-as-proxy-target.js LibJS: Move tests to /Tests/LibJS 2026-01-22 07:46:48 -05:00
array-basic.js LibJS: Move tests to /Tests/LibJS 2026-01-22 07:46:48 -05:00
array-index-from-string.js LibJS: Move tests to /Tests/LibJS 2026-01-22 07:46:48 -05:00
array-length-setter.js LibJS: Preserve sparse elements below length failures 2026-05-22 01:56:57 +02:00
array-shrink-during-find-crash.js LibJS: Move tests to /Tests/LibJS 2026-01-22 07:46:48 -05:00
array-simple-and-generic-storage-initialization.js LibJS: Move tests to /Tests/LibJS 2026-01-22 07:46:48 -05:00
array-spread.js LibJS: Replace IndexedProperties with inline Packed/Holey/Dictionary 2026-03-17 22:28:35 -05:00
Array.from.js LibJS: Move tests to /Tests/LibJS 2026-01-22 07:46:48 -05:00
Array.fromAsync.js LibJS: Move tests to /Tests/LibJS 2026-01-22 07:46:48 -05:00
Array.isArray.js LibJS: Move tests to /Tests/LibJS 2026-01-22 07:46:48 -05:00
Array.js LibJS: Move tests to /Tests/LibJS 2026-01-22 07:46:48 -05:00
Array.of.js LibJS: Move tests to /Tests/LibJS 2026-01-22 07:46:48 -05:00
Array.prototype-generic-functions.js LibJS: Move tests to /Tests/LibJS 2026-01-22 07:46:48 -05:00
Array.prototype.at.js LibJS: Move tests to /Tests/LibJS 2026-01-22 07:46:48 -05:00
Array.prototype.concat.js LibJS: Add Array.prototype fast paths for packed arrays 2026-03-17 22:28:35 -05:00
Array.prototype.copyWithin.js LibJS: Move tests to /Tests/LibJS 2026-01-22 07:46:48 -05:00
Array.prototype.entries.js LibJS: Move tests to /Tests/LibJS 2026-01-22 07:46:48 -05:00
Array.prototype.every.js LibJS: Move tests to /Tests/LibJS 2026-01-22 07:46:48 -05:00
Array.prototype.fill.js LibJS: Move tests to /Tests/LibJS 2026-01-22 07:46:48 -05:00
Array.prototype.filter.js LibJS: Move tests to /Tests/LibJS 2026-01-22 07:46:48 -05:00
Array.prototype.find.js LibJS: Move tests to /Tests/LibJS 2026-01-22 07:46:48 -05:00
Array.prototype.findIndex.js LibJS: Move tests to /Tests/LibJS 2026-01-22 07:46:48 -05:00
Array.prototype.findLast.js LibJS: Move tests to /Tests/LibJS 2026-01-22 07:46:48 -05:00
Array.prototype.findLastIndex.js LibJS: Move tests to /Tests/LibJS 2026-01-22 07:46:48 -05:00
Array.prototype.flat.js LibJS: Move tests to /Tests/LibJS 2026-01-22 07:46:48 -05:00
Array.prototype.flatMap.js LibJS: Move tests to /Tests/LibJS 2026-01-22 07:46:48 -05:00
Array.prototype.forEach.js LibJS: Move tests to /Tests/LibJS 2026-01-22 07:46:48 -05:00
Array.prototype.includes.js LibJS: Move tests to /Tests/LibJS 2026-01-22 07:46:48 -05:00
Array.prototype.indexOf.js LibJS: Fast path Array.prototype.indexOf on packed arrays 2026-04-27 08:39:37 +02:00
Array.prototype.join.js LibJS: Move tests to /Tests/LibJS 2026-01-22 07:46:48 -05:00
Array.prototype.keys.js LibJS: Move tests to /Tests/LibJS 2026-01-22 07:46:48 -05:00
Array.prototype.lastIndexOf.js LibJS: Move tests to /Tests/LibJS 2026-01-22 07:46:48 -05:00
Array.prototype.map.js LibJS: Move tests to /Tests/LibJS 2026-01-22 07:46:48 -05:00
Array.prototype.pop.js LibJS: Add Array.prototype fast paths for packed arrays 2026-03-17 22:28:35 -05:00
Array.prototype.push.js LibJS: Add Array.prototype fast paths for packed arrays 2026-03-17 22:28:35 -05:00
Array.prototype.reduce.js LibJS: Move tests to /Tests/LibJS 2026-01-22 07:46:48 -05:00
Array.prototype.reduceRight.js LibJS: Move tests to /Tests/LibJS 2026-01-22 07:46:48 -05:00
Array.prototype.reverse.js LibJS: Move tests to /Tests/LibJS 2026-01-22 07:46:48 -05:00
Array.prototype.shift.js LibJS: Extend Array.prototype.shift() fast path to holey arrays 2026-04-23 21:47:21 +02:00
Array.prototype.slice.js LibJS: Add Array.prototype fast paths for packed arrays 2026-03-17 22:28:35 -05:00
Array.prototype.some.js LibJS: Move tests to /Tests/LibJS 2026-01-22 07:46:48 -05:00
Array.prototype.sort.js LibJS: Move tests to /Tests/LibJS 2026-01-22 07:46:48 -05:00
Array.prototype.splice.js LibJS: Add Array.prototype fast paths for packed arrays 2026-03-17 22:28:35 -05:00
Array.prototype.toLocaleString.js LibJS: Move tests to /Tests/LibJS 2026-01-22 07:46:48 -05:00
Array.prototype.toReversed.js LibJS: Move tests to /Tests/LibJS 2026-01-22 07:46:48 -05:00
Array.prototype.toSorted.js LibJS: Move tests to /Tests/LibJS 2026-01-22 07:46:48 -05:00
Array.prototype.toSpliced.js LibJS: Move tests to /Tests/LibJS 2026-01-22 07:46:48 -05:00
Array.prototype.toString.js LibJS: Move tests to /Tests/LibJS 2026-01-22 07:46:48 -05:00
Array.prototype.unshift.js LibJS: Move tests to /Tests/LibJS 2026-01-22 07:46:48 -05:00
Array.prototype.values.js LibJS: Move tests to /Tests/LibJS 2026-01-22 07:46:48 -05:00
Array.prototype.with.js LibJS: Move tests to /Tests/LibJS 2026-01-22 07:46:48 -05:00