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

How are hosts in custom schemes to be handled? #418

Closed
felixfbecker opened this issue Oct 14, 2018 · 3 comments
Closed

How are hosts in custom schemes to be handled? #418

felixfbecker opened this issue Oct 14, 2018 · 3 comments

Comments

@felixfbecker
Copy link

Currently all JS engines behave differently when it comes to hosts with custom protocols: https://felixfbecker.github.io/whatwg-url-custom-host-repro/

What is the correct behavior?

@annevk
Copy link
Member

annevk commented Oct 15, 2018

whatwg-url and Node generally match the standard (at least the tests). Safari is close.

@felixfbecker
Copy link
Author

So just to confirm, a bug needs to be filed for Chrome, Firefox, Edge and Safari?

Is there a test in the test suite for this?

@annevk
Copy link
Member

annevk commented Oct 15, 2018

I know Chrome, Edge, and Firefox at least have a general "implement the URL standard" bug. It might be worth filing more specific bugs though.

I'm pretty sure this is tested, e.g., sc://faß.ExAmPlE/ in https://github.com/web-platform-tests/wpt/blob/master/url/resources/urltestdata.json.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants