We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
From these lines: w3c/web-platform-tests/url/setters_tests.json. On Chrome, the pathname displays //example.com, but whatwg-url displays empty, and node displays /.
//example.com
whatwg-url
node
/
var url = new URL('ssh://example.com') console.log(url.pathname)
What should we expect as a spec? I think it should be / as like the other scheme.
The text was updated successfully, but these errors were encountered:
AFAICT Node.js' implementation is currently outdated. Specifically, I don't think #213 has been implemented yet.
Sorry, something went wrong.
You should expect an empty string per the spec as discussed in #213.
Yeah, closing this.
Thanks for pointing that!
No branches or pull requests
From these lines: w3c/web-platform-tests/url/setters_tests.json. On Chrome, the pathname displays
//example.com
, butwhatwg-url
displays empty, andnode
displays/
.What should we expect as a spec? I think it should be
/
as like the other scheme.The text was updated successfully, but these errors were encountered: