[mediacapture-main] Pull Request: OverconstrainedError extends DOMException + algo fixes

jan-ivar has just submitted a new pull request for https://github.com/w3c/mediacapture-main:

== OverconstrainedError extends DOMException + algo fixes ==
Fixes https://github.com/w3c/mediacapture-main/issues/568.

I made the `constraint` argument always present and `""` in cases where the constraint name is either filtered out or undetermined. This matches Safari and Firefox at least (I wasn't able to provoke the absence of a constraint in Chrome).

I also fixed some bugs in the algorithms around `failedConstraint` in the process.

See https://github.com/w3c/mediacapture-main/pull/746


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 5 November 2020 00:52:22 UTC