[whatwg/url] IDNA: possibly use "domain to Unicode" in "valid domain"? (#317)

In https://github.com/whatwg/url/pull/309 @rmisev noted that the extra flags were not set in the "valid domain" algorithm's call to ToUnicode. I pushed a fixup that adds them. But maybe it would be better to deduplicate the calls to ToUnicode, similar to what is already done for the calls to ToASCII.

This is not obviously straightforward since I am not sure who uses "domain to Unicode", and I'm not sure why it doesn't return failure on errors.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/url/issues/317

Received on Thursday, 1 June 2017 21:23:07 UTC