- From: Shane McCarron <notifications@github.com>
- Date: Mon, 19 Sep 2016 01:35:38 -0700
- To: w3c/browser-payment-api <browser-payment-api@noreply.github.com>
Received on Monday, 19 September 2016 08:36:10 UTC
Historically HTML and other parts of the web platform have documented the behavior of user agents when things are used incorrectly in the wild. This is GREAT! However, when designing new interfaces, I feel it is okay for us to throw errors when things are used incorrectly. For example, the shippingOptions field is a sequence or items, one of which can be "selected". The spec indicates that if more than one is selected, then user agent must select the last one in the sequence (that is selected). I think this is broken. If more than one is selected, the interface should throw an error. There are multiple instances in the spec that are like this. We can surely test it, but I would prefer to test that the system throws an error rather than that it permits broken behavior. If there is agreement on this, I am happy to supply PRs. -- 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/issues/275
Received on Monday, 19 September 2016 08:36:10 UTC