W3C home > Mailing lists > Public > public-media-capture@w3.org > June 2013

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

From: <bugzilla@jessica.w3.org>
Date: Mon, 03 Jun 2013 16:12:48 +0000
To: public-media-capture@w3.org
Message-ID: <bug-22250-5753@http.www.w3.org/Bugs/Public/>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:26:17 UTC