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

Upgrade from IDN2003 to UTS #46 Non-transitional #7008

Closed
swankjesse opened this issue Jan 12, 2022 · 6 comments
Closed

Upgrade from IDN2003 to UTS #46 Non-transitional #7008

swankjesse opened this issue Jan 12, 2022 · 6 comments
Labels
enhancement Feature not a bug

Comments

@swankjesse
Copy link
Member

swankjesse commented Jan 12, 2022

There’s a few IDN specs:

  • IDNA2003, what OkHttp gets for free from the JVM
  • IDNA2008, a spec that never gained widespread adoption
  • UTS #46

According to this comment on the URL standard, if we follow non-transitional rules we’ll be in good company with major browsers.

And here’s a handy test suite:
https://wpt.fyi/results/url/toascii.window.html?label=experimental&label=master&aligned

Lets do the following:

  • See what APIs Android and OpenJDK offer in this space
  • Upgrade to UTS 46 Non-transitional, possibly by writing our own implementation
@swankjesse swankjesse added bug Bug in existing code enhancement Feature not a bug and removed bug Bug in existing code labels Jan 12, 2022
@swankjesse
Copy link
Member Author

@yschimke
Copy link
Collaborator

relevant to #6910

@swankjesse
Copy link
Member Author

#7789

@swankjesse
Copy link
Member Author

This is implemented! I’ll open a low-priority tracking bug to track some edge cases we could do better on.

@swankjesse
Copy link
Member Author

#7813

@swankjesse
Copy link
Member Author

(I’m not opening tracking bugs for the other suppressed tests; as-is we’re consistent with Chromium on them.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature not a bug
Projects
None yet
Development

No branches or pull requests

2 participants