opencode/packages/codemode/test
Aiden Cline 9fda73df47 fix(codemode): share memory between typed arrays and ArrayBuffer
Add ArrayBuffer, DataView and the typed array family (Int8, Uint8,
Uint8Clamped, Int16, Uint16, Int32, Uint32, Float32, Float64) on a shared
%TypedArray%. A typed array's buffer is a real ArrayBuffer, and views over
it (typed arrays, subarray, DataView, Buffer.from(arrayBuffer)) share its
memory, including across snapshots. Binary values cross extensions as
copies of their own kind and are rejected with a hint at tools and in
results.
2026-11-18 17:09:06 +00:00
..
fixtures refactor(codemode): split the language layer from Code Mode (#64487) 2026-11-17 15:21:51 -05:00
test262 refactor(codemode): split the language layer from Code Mode (#64487) 2026-11-17 15:21:51 -05:00
array-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
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 refactor(codemode): flatten the VM into src and remove two-engine leftovers (#63377) 2026-11-12 13:39:15 -05:00
extensions.test.ts fix(codemode): share memory between typed arrays and ArrayBuffer 2026-11-18 17:09:06 +00: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 refactor(codemode): flatten the VM into src and remove two-engine leftovers (#63377) 2026-11-12 13:39:15 -05: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 refactor(codemode): flatten the VM into src and remove two-engine leftovers (#63377) 2026-11-12 13:39:15 -05: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): let the runtime drop functions and await promises in host-call arguments (#64513) 2026-11-17 20:55:40 +00: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 refactor(codemode): split the language layer from Code Mode (#64487) 2026-11-17 15:21:51 -05: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 fix(codemode): share memory between typed arrays and ArrayBuffer 2026-11-18 17:09:06 +00: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): share memory between typed arrays and ArrayBuffer 2026-11-18 17:09:06 +00: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
typed-array.test.ts fix(codemode): share memory between typed arrays and ArrayBuffer 2026-11-18 17:09:06 +00:00
var-hoisting-test262.test.ts refactor(codemode): flatten the VM into src and remove two-engine leftovers (#63377) 2026-11-12 13:39:15 -05:00
verify-bytecode.ts refactor(codemode): split the language layer from Code Mode (#64487) 2026-11-17 15:21:51 -05:00
vm.test.ts refactor(codemode): split the language layer from Code Mode (#64487) 2026-11-17 15:21:51 -05: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