- From: Marcos Cáceres <notifications@github.com>
- Date: Thu, 15 Mar 2018 06:00:50 +0000 (UTC)
- To: w3c/payment-request <payment-request@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 15 March 2018 06:01:17 UTC
marcoscaceres commented on this pull request. > @@ -2138,6 +2139,22 @@ <h2> </li> </ol> </li> + <li>If <var>details</var>["<a>regionCode</a>"] is present and not + the empty string: + <ol> + <li>Let <var>regionCode</var> be the result of <a>strip leading + and trailing ASCII whitespace</a> and <a data-cite= + "!INFRA#ascii-uppercase">ASCII uppercasing</a> + <var>details</var>["<a>regionCode</a>"]. + </li> + <li>If <var>regionCode</var> is not a valid [[!ISO3166-2]] + subdivision code, throw a <a>RangeError</a> exception. Behind a paywall (and I doubt it would have the algorithm... but you never know). I'll buy the spec and have a look. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/payment-request/pull/690#discussion_r174683592
Received on Thursday, 15 March 2018 06:01:17 UTC