Skip to content

Conversation

@tlively
Copy link
Member

@tlively tlively commented Jan 17, 2026

Validation should fail if string builtin imports do not have the expected types. Add a test for this validation.

Validation should fail if string builtin imports do not have the
expected types. Add a test for this validation.
@tlively
Copy link
Member Author

tlively commented Jan 17, 2026

I validated locally (by applying this diff to WPT) that FireFox passes this new test. Chrome does not, however, because V8 currently checks the builtin params and results individually instead of checking the entire import type. It seems worth fixing this (and testing it) to avoid compatibility hazards.

@Ms2ger Ms2ger merged commit a9a0a31 into main Jan 19, 2026
1 check passed
@Ms2ger Ms2ger deleted the test-string-builtin-types branch January 19, 2026 09:31
@tlively
Copy link
Member Author

tlively commented Jan 20, 2026

cc @rmahdav

hubot pushed a commit to v8/v8 that referenced this pull request Jan 21, 2026
Among others, this rolls github.com/WebAssembly/spec/pull/2055,
which we just fixed in V8.

Change-Id: I6e0329901cd2bbca560717c6034750d7d4a75eb6
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/7503055
Auto-Submit: Jakob Kummerow <[email protected]>
Commit-Queue: Jakob Kummerow <[email protected]>
Commit-Queue: Clemens Backes <[email protected]>
Reviewed-by: Clemens Backes <[email protected]>
Cr-Commit-Position: refs/heads/main@{#104813}
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.

3 participants