Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[URL] Add expected failure tests for ASCII domains whose labels contain invalid IDNA #29008

Merged
merged 1 commit into from May 16, 2021

Conversation

karwa
Copy link
Contributor

@karwa karwa commented May 15, 2021

Aligns with whatwg/url#598

Some implementations may not be able to implement IDNA, or might fast-path ASCII domains, without taking in to account that domains are encoded by label. There may still be components which require IDNA validation, even if the domain is ASCII.

Copy link
Member

@TimothyGu TimothyGu left a comment

Choose a reason for hiding this comment

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

This is technically tested already in url/resources/toascii.json, but a few test cases can't hurt. LGTM.

@TimothyGu
Copy link
Member

@achristensen07 It looks like this PR introduces some new errors in url-constructor.html for Safari, unfortunately.

@TimothyGu TimothyGu merged commit 07ae085 into web-platform-tests:master May 16, 2021
@karwa karwa deleted the idnascii branch May 19, 2021 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants