Re: [mediacapture-main] Specify relation between return from getConstraints and constraints argument

@burnburn You don't have to. As I 
[mentioned](https://github.com/w3c/mediacapture-main/issues/360#issuecomment-223404239),
 WebIDL dictionaries are secure normalized copies of known properties 
only, so there's no access to the full JavaScript object that was 
passed in (unknown things do not survive). This is already 
well-defined, as `getConstraints()` returns a dictionary of the same 
type.

(Btw. for this reason, a graphical constraints-picker would probably 
want to store its composition outside of the track anyway.)

Wouldn't it suffice to say something like: "UAs MAY return normalized 
constraints with the identical effect in all situations as the applied
 constraints" ? Programmers will be reading this after all.

-- 
GitHub Notification of comment by jan-ivar
Please view or discuss this issue at 
https://github.com/w3c/mediacapture-main/issues/360#issuecomment-245737938
 using your GitHub account

Received on Thursday, 8 September 2016 20:56:11 UTC