- From: Cullen Jennings (fluffy) <fluffy@cisco.com>
- Date: Tue, 17 Dec 2013 16:17:29 +0000
- To: Harald Alvestrand <harald@alvestrand.no>
- CC: "public-media-capture@w3.org" <public-media-capture@w3.org>
On Dec 16, 2013, at 10:43 AM, Harald Alvestrand <harald@alvestrand.no> wrote: > I think we're landing on the basic structure of constraints as retaining the properties it has: > > - Mandatory is a set of key/value pairs, where all of them need to be satisfied in order for the allocation to succeed. If the browser does not understand a key, it does not succeed. (I know Jan-Ivar doesn't agree.) > > - Optional is a sequence of sets of key/value pairs. (I'm suggesting that we relax the rule of only one key/value pair for each element in the sequence). The browser will try to satisfy as many constraint sets as it can, but will ignore constraint sets that cannot be satisified, these will not cause the call to fail. > > The Mandatory set of key/value pairs doesn't have the same semantics as Dictionary. Therefore it is not a Dictionary. +1 on above. I don't have a strong feeling on which of 3 syntax is best.
Received on Tuesday, 17 December 2013 16:18:03 UTC