[mediacapture-main] Pull Request: Fix Not Found Error in gUM algorithm

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

== Fix Not Found Error in gUM algorithm ==
It appears that the rewrite of the gUM algorithm to use SelectSettings
 inadvertently changed some of the errors.  Specifically, the 
NotFoundError should have been for the case where no suitable sources 
were available even before applying constraints, and the 
ConstraintNotSatisfiedError should have been used for the case where 
no suitable sources were found after applying constraints, meaning 
that at least one required constraint could not be satisfied.


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

Received on Tuesday, 7 July 2015 18:32:26 UTC