URL.domainToASCII / URL.domainToUnicode

I added two statics to URL for dealing with IDNA from JavaScript:
http://url.spec.whatwg.org/#url URL.domainToASCII() can fail. I opted
to just return the input in that case, similar to how <a> et al
operate. I'm open to arguments for why throwing might be more
desirable.


-- 
http://annevankesteren.nl/

Received on Monday, 19 August 2013 12:35:41 UTC