Re: [mediacapture-screen-share] Be consistent with how to handle errors

I'm trying to be consistent with getUserMedia().

With regards to InvalidAccessError at MediaTrackConstraints, this is throwing an exception because constraints were passed in that weren't applicable. I'm trying to figure out if getUserMedia() in this case would fail to satisfy the constraint because it was not applicable and hence throw an OverconstrainedError (if "exact" was used, but not if "ideal" was used?) or if it would silently ignore the constraint (as if a constraint unrecognized by WebIDL was passed in) and not throw an exception.
I filed https://github.com/w3c/mediacapture-main/issues/533.

-- 
GitHub Notification of comment by henbos
Please view or discuss this issue at https://github.com/w3c/mediacapture-screen-share/issues/68#issuecomment-417319295 using your GitHub account

Received on Thursday, 30 August 2018 13:28:43 UTC