From 88c3a2303f78000193f05ab977bce33057218f55 Mon Sep 17 00:00:00 2001 From: Thomas Lively Date: Thu, 5 Mar 2026 18:23:17 -0800 Subject: [PATCH 1/2] Enable JS interop in V8 flags Enabling this feature will allow configuring JS prototypes on Wasm structs via their descriptors. This will help the fuzzer find bugs where those configured prototypes are accidentally removed. --- scripts/test/shared.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/test/shared.py b/scripts/test/shared.py index 48f10b5a52b..d0f0d3b8de6 100644 --- a/scripts/test/shared.py +++ b/scripts/test/shared.py @@ -253,6 +253,7 @@ def has_shell_timeout(): '--experimental-wasm-stringref', '--experimental-wasm-fp16', '--experimental-wasm-custom-descriptors', + '--experimental-wasm-js-interop', ] # external tools From 84446fff2ef5b9bc5761a5a613ce824df2533d6b Mon Sep 17 00:00:00 2001 From: Thomas Lively Date: Fri, 6 Mar 2026 10:24:36 -0800 Subject: [PATCH 2/2] clusterfuzz too --- scripts/clusterfuzz/run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/clusterfuzz/run.py b/scripts/clusterfuzz/run.py index b8763aa73f6..abd1d5ad5ba 100755 --- a/scripts/clusterfuzz/run.py +++ b/scripts/clusterfuzz/run.py @@ -32,7 +32,7 @@ # The V8 flags we put in the "fuzzer flags" files, which tell ClusterFuzz how to # run V8. By default we apply all staging flags. -FUZZER_FLAGS = '--wasm-staging --experimental-wasm-custom-descriptors' +FUZZER_FLAGS = '--wasm-staging --experimental-wasm-custom-descriptors --experimental-wasm-js-interop' # Optional V8 flags to add to FUZZER_FLAGS, some of the time. OPTIONAL_FUZZER_FLAGS = [