This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 22250 - Failure step of getUserMedia algorithm overrides name of error in case of unsatisfied constraints
Summary: Failure step of getUserMedia algorithm overrides name of error in case of uns...
Status: RESOLVED FIXED
Alias: None
Product: WebRTC Working Group
Classification: Unclassified
Component: Media Capture and Streams (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: public-media-capture@w3.org
QA Contact:
URL:
Whiteboard:
Keywords:
: 22355 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-06-03 16:12 UTC by Dominique Hazael-Massieux
Modified: 2013-08-27 08:54 UTC (History)
3 users (show)

See Also:


Attachments

Description Dominique Hazael-Massieux 2013-06-03 16:12:48 UTC
When a constraint is not recognized or cannot be satisfied, the getUserMedia algorithm instructs to jump to the "failure" step after having set the error name to Constraint not satisfied.

But when reaching the "failure" step, the error name gets set to Permission Denied, which doesn't make sense.

Instead, the name Permission Denied should be set in the algorithm step starting with "If the user denies permission," and be left alone in the failure step.
Comment 1 Dominique Hazael-Massieux 2013-06-14 08:58:20 UTC
*** Bug 22355 has been marked as a duplicate of this bug. ***
Comment 2 Harald Alvestrand 2013-08-27 08:54:35 UTC
Resolved in 20130824 version of MediaCapture.