Skip to content

Run the wasm/jsapi tentative WPTs - #8767

Merged
littledivy merged 1 commit into
mainfrom
littledivy/2026-11-21-wpt-wasm-jsapi-gaps
Nov 21, 2026
Merged

littledivy merged 1 commit into
mainfrom
littledivy/2026-11-21-wpt-wasm-jsapi-gaps

Conversation

@littledivy

Copy link
Copy Markdown
Member

The wasm/jsapi target doesn't set include_tentative, so none of its 23 .tentative.any.js files ran, including all of exception/, tag/ and gc/.

In this patch they run with their current results recorded. 12 files pass as they are: 75 subtests across exception/, gc/, tag/, memory/constructor-shared and module/moduleSource. The 10 type-reflection files (WebAssembly.Function, type() and the minimum descriptor field) are expected to fail, because V8 doesn't ship that proposal. In exception/getArg, the out-of-range case is expected to fail, since V8 throws a TypeError where the test wants a RangeError. exception/basic is disabled, because it awaits WebAssembly.instantiate() of bytes, which never settles (#7930). esm-integration is excluded, because its tests call import(), which fails in scripts the harness evaluates with "Referring module not found in the registry". Only test config changes.

//src/wpt:wasm/jsapi@, //src/wpt:wasm/jsapi@all-autogates and //src/wpt:wasm/jsapi@gc-stress each passed 100 of 100 runs with --runs_per_test=100.

The wasm/jsapi target doesn't set include_tentative, so none of its 23
.tentative.any.js files ran, including all of exception/, tag/ and gc/.

In this patch they run with their current results recorded. 12 files
pass as they are. The 10 type-reflection files (WebAssembly.Function,
type() and the minimum descriptor field) are expected to fail, because V8
doesn't ship that proposal. exception/getArg's out-of-range case is
expected to fail: V8 throws a TypeError where the test wants a
RangeError. exception/basic is disabled because it awaits
WebAssembly.instantiate() of bytes, which never settles (#7930).
esm-integration is excluded, because its tests call import(), which fails
in scripts the harness evaluates. Only test config changes.
@littledivy
littledivy requested review from a team as code owners November 21, 2026 03:33

@clanky-the-clanker clanky-the-clanker Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Approved — Only the test config changes, and the entries match the tentative files. No issues found.

The decision is advisory: this review is a comment and never approves, blocks or requests changes on the pull request.


✅ All checks passed

📋 Code Quality: ✅ LGTM

build/wpt_test.bzl supports include_tentative and exclude_test_dirs, and applies them the way this change expects. Every new tentative file has a config entry, and no config entries remain for the excluded esm-integration directory. The expected-failure and disabled markers match the results described for the pull request.


📝 Documentation: ✅ LGTM

The comments in the BUILD file and the test config describe the current behaviour and give the reason for each exclusion and expected failure.


Reviewed commit: 61c70c44

@littledivy
littledivy enabled auto-merge November 21, 2026 03:47
@littledivy
littledivy merged commit a662734 into main Nov 21, 2026
23 checks passed
@littledivy
littledivy deleted the littledivy/2026-11-21-wpt-wasm-jsapi-gaps branch November 21, 2026 03:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants