Skip to content

Remove URL.domainToASCII and URL.domainToUnicode #63

@annevk

Description

@annevk

They are still not implemented and it's no longer clear to me this is the best API. In particular:

  1. We might want an API around hosts in general. E.g., new URLHost(...) (the URL prefix for disambiguation).
  2. Converting an entire URL to Unicode might be something we want to cover too.

For both of these, overloading toString() to take an argument about how to serialize seems somewhat compelling, given the precedent in JavaScript. Though need to check with @domenic.

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