[mediacapture-main] Clarify constraints processing model wrt dictionary member presence

jan-ivar has just created a new issue for https://github.com/w3c/mediacapture-main:

== Clarify constraints processing model wrt dictionary member presence ==
As part of new WebIDL considerations in, I got alerted that the mediacapture spec is a bit unclear in its dealings with dictionary members and their [presence](https://heycam.github.io/webidl/#dfn-present) in its constraints processing, particularly its [fitness distance](https://w3c.github.io/mediacapture-main/getusermedia.html#dfn-fitness-distance) algorithm.

Specifically:
 1. The idea of "" all our constraints are defined using WebIDL unions, which means they're always present today. I also got questions about:


* What does _"for each constraint provided for a constraint name in CS"_ mean?

MediaTrackConstraintSet dictionary defines a bunch of members that are unions including dictionaries; these used to get defaulted to "empty dictionary" but with https://github.com/heycam/webidl/issues/76 they may no longer not get defaulted at all.




Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/525 using your GitHub account

Received on Monday, 9 July 2018 18:54:31 UTC