Re: [w3c/browser-payment-api] Add support for ShippingOption.selected. (#179)

> @@ -425,6 +425,13 @@
>              length of 1, then set <a><code>shippingOption</code></a> to the <code>id</code> of
>              the only <a><code>ShippingOption</code></a> in the sequence.
>            </li>
> +          <li>
> +            If <code>details</code> contains a <code>shippingOptions</code> sequence with a
> +            length greater than 1, and if any <a><code>ShippingOption</code></a> in the sequence
> +            has the <code>selected</code> field set to <code>true</code>, then set
> +            <a><code>shippingOption</code></a> to the <code>id</code> of the last <a><code>ShippingOption</code></a>
> +            in the sequence with <code>selected</code> set to <code>true</code>.
> +          </li>

I'd be hesitant to make this a conformance issue, though. It may be perfectly reasonable for the user agent to use locally-configured preferences to override the "selected" flag; e.g., "remember my choice from last time" or "always default to the cheapest shipping option."  So I would far prefer to see this specified as a hint rather than a normative behavior.

---
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/browser-payment-api/pull/179/files/bb719e40371a15bd1b84e0534bc91d05ce40a283#r62092633

Received on Wednesday, 4 May 2016 18:44:25 UTC