Re: [mediacapture-main] Clarify behavior of using wrong-type constraints

@alvestrand We can put a message in `TypeError`, e.g.:

    TypeError: The 'volume' constraint is not valid on video tracks.

we're always speaking to the script author for such pilot (script) 
error here. In other words, this isn't an error that scripts would be 
expected to handle automatically, so I see no advantage in using 
`OverconstrainedError` for this.

Also, FYI, today only Chrome does this, and only for mandatory 
constraints.

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

Received on Wednesday, 12 October 2016 13:51:37 UTC