[whatwg/url] Preserve use of Nontransitional processing for IDNA (#404)

As mentioned in https://github.com/whatwg/url/issues/400#issuecomment-406900069, the IDNA spec previously used Nontransitional Processing unconditionally in the ToUnicode algorithm. However, a recent spec change changed the ToUnicode algorithm to accept a boolean flag called *Transitional_Processing*, which allows the user to choose between Transitional and Nontransitional processing. This makes it so that the [domain to ASCII](https://url.spec.whatwg.org/#concept-domain-to-ascii), [domain to Unicode]( https://url.spec.whatwg.org/#concept-domain-to-unicode) algorithms, and [valid domain](https://url.spec.whatwg.org/#valid-domain) steps explicitly state the value for the *Transitional_Processing* flag, which preserves the previous behavior of using Nontransitional processing.

It also renames *processing_option* to *Transitional_Processing* in the  [domain to ASCII](https://url.spec.whatwg.org/#concept-domain-to-ascii) algorithm to match the latest spec changes. 

Fixes #400.

cc @annevk @TimothyGu 
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/url/pull/404

-- Commit Summary --

  * Converge on using Nontransitional processing for IDNA

-- File Changes --

    M url.bs (6)

-- Patch Links --

https://github.com/whatwg/url/pull/404.patch
https://github.com/whatwg/url/pull/404.diff

-- 
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/pull/404

Received on Monday, 23 July 2018 05:29:38 UTC