Re: [Bug 23933] Proposal: Change constraints to use WebIDL dictionaries

The issue is not dictionaries, the issue is what happens to unknown constraints. I am strongly against a design where unknown mandatory constrains are silently ignored. 

On Nov 28, 2013, at 12:51 AM, bugzilla@jessica.w3.org wrote:

> https://www.w3.org/Bugs/Public/show_bug.cgi?id=23933
> 
> Stefan Hakansson LK <stefan.lk.hakansson@ericsson.com> changed:
> 
>           What    |Removed                     |Added
> ----------------------------------------------------------------------------
>            Summary|Change constraints to use   |Proposal: Change
>                   |WebIDL dictionaries         |constraints to use WebIDL
>                   |                            |dictionaries
> 
> --- Comment #2 from Stefan Hakansson LK <stefan.lk.hakansson@ericsson.com> ---
> (In reply to Gili from comment #1)
>> Just to be clear: the implication of this proposal is that users will need
>> to ask for a set of constraints, but then they will have to check that the
>> returned device meets those constraints (because some of them may have been
>> omitted as "unknown").
> 
> That is not true really. Since the proposal also includes a method that allows
> the app to probe for what constraints that the UA understands, it can first
> check, and if one or more constraints the app wants to use as mandatory are not
> known by the UA the app can at that stage decide to not go ahead and call gUM.
> 
> -- 
> You are receiving this mail because:
> You are on the CC list for the bug.
> You are the assignee for the bug.
> 

Received on Tuesday, 3 December 2013 16:40:44 UTC