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.

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