Skip to content

Unclear behavior of path scheme for special URL #275

Description

@watilde

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions