Closed Bug 1007132 Opened 10 years ago Closed 8 years ago

Implement URL punycode URL statics

Categories

(Core :: DOM: Core & HTML, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: jcranmer, Unassigned)

References

(Blocks 1 open bug, )

Details

The URL statics add methods for converting to and from Punycode:
* domainToASCII converts to ASCII
* domainToUnicode converts to Unicode

Another potential method would be domainToUI that converts the domain name to the form found in the URL bar, although it has yet to be added to the specification.

These methods are extremely useful for anyone attempting to do IDN domain handling.
These methods were removed from the URL spec: https://github.com/whatwg/url/issues/63
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.