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 /.
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.
From these lines: w3c/web-platform-tests/url/setters_tests.json. On Chrome, the pathname displays
//example.com, butwhatwg-urldisplays empty, andnodedisplays/.What should we expect as a spec? I think it should be
/as like the other scheme.