Skip to content

Commit 6a4e8f5

Browse files
committed
test(binary-object): pin QuickJS writer flags
1 parent b98415c commit 6a4e8f5

4 files changed

Lines changed: 528 additions & 0 deletions

File tree

dev-support/quickjs-c-oracles.tsv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ function-bytecode-invalid-data-parent function-bytecode tests/fixtures/function_
66
function-bytecode-nested-closure function-bytecode tests/fixtures/function_bytecode_nested_closure.c cf2604e128548fac93fb497935cc7780cbefe9eea2dfe25d8aff128f7fb41d14 tests/fixtures/function_bytecode_nested_closure.quickjs-2026-06-04.txt 955be2e056b8ee06dc9d05ac409c56557e56574adcd68e9c94f2fcd37957b923 stripped nested function constant-pool and captured closure fresh-runtime contract
77
function-bytecode-reference-boundary function-bytecode tests/fixtures/function_bytecode_reference_boundary.c fd31889a9404350cec51d2e6dd16ab886475cb46067296ab8d516fa6446e5116 tests/fixtures/function_bytecode_reference_boundary.quickjs-2026-06-04.txt 392c993f7f48103e3cb4a7b7140c1fe5fec554e75262f79d5a7bbf99157251ea shared object-reference table across nested function constant-pool boundaries
88
function-bytecode-wire function-bytecode tests/fixtures/function_bytecode_wire.c c3f3d0907093a3d9285b3cf4989567adbbeee76005336f880decc160a95b6630 tests/fixtures/function_bytecode_wire.quickjs-2026-06-04.txt f6f4d9650a37529815e7228a5438cb1051190961b2b3771b0465e0f7eb26dfb8 stripped return-42 function bytecode wire and fresh-runtime evaluation contract
9+
function-bytecode-writer-flags function-bytecode tests/fixtures/function_bytecode_writer_flags.c d5494b0bce19e530d8c6f2a8b5a8ae20476e17b03c34335ae58c56544ff367d1 tests/fixtures/function_bytecode_writer_flags.quickjs-2026-06-04.txt 95665dc04cb18780505d0a8c592d8ce66b601c77049aa9eb7f1925b1fda73d95 keep-source, strip-source, and strip-debug nested function bytecode writer and BSWAP identity contract
910
import-attributes module tests/fixtures/module_import_attributes_loader2.c d243a74b07d59d60f4d811c66447087547a43c5541baf60eb48b7d4c337e2863 tests/fixtures/module_import_attributes_loader2.quickjs-2026-06-04.txt 31121aad6e62055f7389392c83c09efaa225fa126b27bb9c08db6d8daca41e28 loader2 import-attributes contract
1011
import-meta module tests/fixtures/module_import_meta_host.c e695e55164c6c07440e5f05135f14fe959367836e5380f7fc245d409130b503d tests/fixtures/module_import_meta_host.quickjs-2026-06-04.txt 928013ebd2080271e69a56516d5dd024e76cdd94fdb9bdc8fc27c08ece0efc8f canonical host import.meta contract
1112
json module tests/fixtures/module_json_loader2.c 325f1d3e2495da5af5ccb893176110c263cfd9355523275703328b2162fe02ae tests/fixtures/module_json_loader2.quickjs-2026-06-04.txt 3f3dbef40a32f908c14dc29318a4c4ac68cbb2bc328db50200a8d2ea4a95cbb9 loader2 JSON-module contract

scripts/test-quickjs-c-oracles.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ done < <(tail -n +2 "$manifest")
106106
for required_id in callback-contracts function-bytecode-ancestor-reference \
107107
function-bytecode-invalid-data-parent function-bytecode-nested-closure \
108108
function-bytecode-reference-boundary function-bytecode-wire \
109+
function-bytecode-writer-flags \
109110
import-attributes import-meta json; do
110111
found=false
111112
for id in "${ids[@]}"; do

0 commit comments

Comments
 (0)