[Bug 22250] New: Failure step of getUserMedia algorithm overrides name of error in case of unsatisfied constraints

https://www.w3.org/Bugs/Public/show_bug.cgi?id=22250

            Bug ID: 22250
           Summary: Failure step of getUserMedia algorithm overrides name
                    of error in case of unsatisfied constraints
    Classification: Unclassified
           Product: WebRTC Working Group
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Media Capture and Streams
          Assignee: public-media-capture@w3.org
          Reporter: dom@w3.org
                CC: public-media-capture@w3.org

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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

Received on Monday, 3 June 2013 16:12:54 UTC