W3C home > Mailing lists > Public > public-script-coord@w3.org > July to September 2013

URL.domainToASCII / URL.domainToUnicode

From: Anne van Kesteren <annevk@annevk.nl>
Date: Mon, 19 Aug 2013 13:35:14 +0100
Message-ID: <CADnb78g9KzfDyeiUD=2sK-KVafggY_Pbk4JS3a5E3ZfA2tRKNQ@mail.gmail.com>
To: "public-script-coord@w3.org" <public-script-coord@w3.org>
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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:37:50 UTC