opencode/packages/codemode/test
kommander e4c73711f3 feat(codemode): real array holes
Arrays hold holes from elisions, Array(n), delete, length and far writes. A hole is not an own property: reads and `in` fall through to the prototypes, keys and for-in skip it, and logs print it empty. Methods follow the reference: the callback methods skip indexes not in the array, the find methods read them live, sort puts holes last, flat drops them, and spreads and copies such as toReversed read them as undefined. Holes cross the extension boundary as holes.

Drops 40 files from rust-skipped.txt, and 15 stale entries from the reference's test262 skipped.txt that its runner passes.
2026-11-18 18:56:10 +01:00
..
fixtures refactor(codemode): split the language layer from Code Mode (#64487) 2026-11-17 15:21:51 -05:00
test262 feat(codemode): real array holes 2026-11-18 18:56:10 +01:00
array-callbacks-test262.test.ts fix(codemode): let in find an array hole's inherited index 2026-11-18 18:56:01 +01:00
array-core-test262.test.ts refactor(codemode): flatten the VM into src and remove two-engine leftovers (#63377) 2026-11-12 13:39:15 -05:00
buffer.test.ts feat(codemode): add Node's Buffer (#64365) 2026-11-16 23:55:30 -06:00
build-id.test.ts refactor(codemode): flatten the VM into src and remove two-engine leftovers (#63377) 2026-11-12 13:39:15 -05:00
bytecode-limits.test.ts refactor(codemode): split the language layer from Code Mode (#64487) 2026-11-17 15:21:51 -05:00
callbacks.test.ts refactor(codemode): flatten the VM into src and remove two-engine leftovers (#63377) 2026-11-12 13:39:15 -05:00
codemode.test.ts fix(codemode): let the runtime drop functions and await promises in host-call arguments (#64513) 2026-11-17 20:55:40 +00:00
constructor-test262.test.ts refactor(codemode): flatten the VM into src and remove two-engine leftovers (#63377) 2026-11-12 13:39:15 -05:00
date-test262.test.ts refactor(codemode): flatten the VM into src and remove two-engine leftovers (#63377) 2026-11-12 13:39:15 -05:00
enumeration.test.ts refactor(codemode): split the language layer from Code Mode (#64487) 2026-11-17 15:21:51 -05:00
errors.test.ts fix(codemode): match JS in built-in object details 2026-11-18 18:56:01 +01:00
extensions.test.ts fix(codemode): say why an import can't be resolved (#64587) 2026-11-17 22:45:39 -06:00
for-await-test262.test.ts refactor(codemode): flatten the VM into src and remove two-engine leftovers (#63377) 2026-11-12 13:39:15 -05:00
generator-test262.test.ts refactor(codemode): flatten the VM into src and remove two-engine leftovers (#63377) 2026-11-12 13:39:15 -05:00
groupby-test262.test.ts refactor(codemode): flatten the VM into src and remove two-engine leftovers (#63377) 2026-11-12 13:39:15 -05:00
json-callbacks-test262.test.ts refactor(codemode): flatten the VM into src and remove two-engine leftovers (#63377) 2026-11-12 13:39:15 -05:00
labeled-control-test262.test.ts refactor(codemode): flatten the VM into src and remove two-engine leftovers (#63377) 2026-11-12 13:39:15 -05:00
language-boundary.test.ts refactor(codemode): split the language layer from Code Mode (#64487) 2026-11-17 15:21:51 -05:00
language.test.ts feat(codemode): let host functions cross back to the host and let globals be constructible (#64472) 2026-11-17 15:11:40 -06:00
lexical-test262.test.ts refactor(codemode): flatten the VM into src and remove two-engine leftovers (#63377) 2026-11-12 13:39:15 -05:00
LICENSE.test262 test(codemode): add Test262 string coverage (#35940) 2026-07-08 15:51:54 -05:00
LICENSE.wpt feat(codemode): add atob, btoa, and crypto.randomUUID (#48290) 2026-09-10 01:21:41 -05:00
limits.test.ts refactor(codemode): split the language layer from Code Mode (#64487) 2026-11-17 15:21:51 -05:00
new-expression.test.ts fix(codemode): evaluate new arguments before checking the constructor 2026-11-18 18:55:49 +01:00
object-coercion-test262.test.ts refactor(codemode): flatten the VM into src and remove two-engine leftovers (#63377) 2026-11-12 13:39:15 -05:00
openapi.test.ts refactor(codemode): split the language layer from Code Mode (#64487) 2026-11-17 15:21:51 -05:00
parity.test.ts fix(codemode): convert Array arguments, lengths and sort elements through ToPrimitive 2026-11-18 18:56:08 +01:00
preload.ts refactor(codemode): split the language layer from Code Mode (#64487) 2026-11-17 15:21:51 -05:00
prelude-bytecode.test.ts refactor(codemode): split the language layer from Code Mode (#64487) 2026-11-17 15:21:51 -05:00
promise-test262.test.ts refactor(codemode): flatten the VM into src and remove two-engine leftovers (#63377) 2026-11-12 13:39:15 -05:00
promise.test.ts fix(codemode): match JS in built-in object details 2026-11-18 18:56:01 +01:00
regexp-math-test262.test.ts refactor(codemode): flatten the VM into src and remove two-engine leftovers (#63377) 2026-11-12 13:39:15 -05:00
resumable.test.ts fix(codemode): match JS in built-in object details 2026-11-18 18:56:01 +01:00
run-program.ts refactor(codemode): split the language layer from Code Mode (#64487) 2026-11-17 15:21:51 -05:00
scan.test.ts feat(core): turn experimental schedules into automations (#64160) 2026-11-16 17:14:59 -08:00
set-methods-test262.test.ts refactor(codemode): flatten the VM into src and remove two-engine leftovers (#63377) 2026-11-12 13:39:15 -05:00
signature.test.ts refactor(codemode): split the language layer from Code Mode (#64487) 2026-11-17 15:21:51 -05:00
snapshot.test.ts refactor(codemode): split the language layer from Code Mode (#64487) 2026-11-17 15:21:51 -05:00
state.test.ts refactor(codemode): split the language layer from Code Mode (#64487) 2026-11-17 15:21:51 -05:00
stdlib.test.ts fix(codemode): match JS in built-in object details 2026-11-18 18:56:01 +01:00
string-core-test262.test.ts refactor(codemode): flatten the VM into src and remove two-engine leftovers (#63377) 2026-11-12 13:39:15 -05:00
string-date-methods-test262.test.ts refactor(codemode): flatten the VM into src and remove two-engine leftovers (#63377) 2026-11-12 13:39:15 -05:00
string-regexp-test262.test.ts refactor(codemode): flatten the VM into src and remove two-engine leftovers (#63377) 2026-11-12 13:39:15 -05:00
string-search-test262.test.ts refactor(codemode): flatten the VM into src and remove two-engine leftovers (#63377) 2026-11-12 13:39:15 -05:00
suspend.test.ts feat(codemode): let host functions cross back to the host and let globals be constructible (#64472) 2026-11-17 15:11:40 -06:00
test262.test.ts fix(codemode): let the runtime drop functions and await promises in host-call arguments (#64513) 2026-11-17 20:55:40 +00:00
tool-paths.test.ts fix(codemode): reject an unknown tool's promise instead of throwing (#64510) 2026-11-17 20:42:14 +00:00
var-hoisting-test262.test.ts fix(codemode): match JS in built-in object details 2026-11-18 18:56:01 +01:00
verify-bytecode.ts fix(codemode): evaluate the right side of o.x = v before checking o 2026-11-18 18:55:49 +01:00
vm.test.ts fix(codemode): evaluate the right side of o.x = v before checking o 2026-11-18 18:55:49 +01:00
web-wpt.test.ts refactor(codemode): flatten the VM into src and remove two-engine leftovers (#63377) 2026-11-12 13:39:15 -05:00