Add use counter for mixed old/new-style constraints |
||
Issue description
MediaConstraintsImpl.cpp:
WebMediaConstraints standardForm = convertConstraintsToWeb(constraintsIn);
if (constraintsIn.hasOptional() || constraintsIn.hasMandatory()) {
if (!standardForm.isEmpty()) {
errorState.throwTypeError("Malformed constraint: Cannot use both optional/mandatory and specific or advanced constraints.");
return WebMediaConstraints();
}
There should be an use counter. We have had one bug (#614716) where the user mixed those constraint forms and was surprised.
,
Oct 5 2016
Was fixed by https://codereview.chromium.org/2020063002 Usage stats is at https://www.chromestatus.com/metrics/feature/timeline/popularity/1389 |
||
►
Sign in to add a comment |
||
Comment 1 by hta@chromium.org
, Jun 1 2016