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 25988 - Need a list of MediaStreamError "name" values
Summary: Need a list of MediaStreamError "name" values
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: Adam Bergkvist
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 22251
  Show dependency treegraph
 
Reported: 2014-06-05 08:59 UTC by Harald Alvestrand
Modified: 2014-09-10 06:14 UTC (History)
3 users (show)

See Also:


Attachments

Description Harald Alvestrand 2014-06-05 08:59:02 UTC
Now that we are not depending on DOMError, we need our own table of errors that can be returned in a MediaStreamError (and extended by other specifications, such as WebRTC).

The following errors are defined to be used so far:

- NotSupportedError
- PermissionDeniedError
- ConstraintNotSatisfiedError
- overconstrainedError (needs to be changed to initial upper case for consistency)

In addition, bug 22251 defines:

- NotFoundError
- AbortError
- SourceUnavailableError

The names that are identical to DOMError names should have the same meaning; the spec should note that.
Comment 1 Harald Alvestrand 2014-07-01 09:42:07 UTC
Assigning for editing.
Comment 2 Harald Alvestrand 2014-08-18 06:40:44 UTC
From Kiran: Need a reference to DOM4 spec for the error codes defined there.

From Harald: This reference needs to be informative, since we're not depending on the typedefs in DOM4.
Comment 3 Dominique Hazael-Massieux 2014-08-28 07:07:53 UTC
Proposed fix https://github.com/w3c/mediacapture-main/pull/4
Comment 4 Kiran 2014-09-02 06:42:17 UTC
Proposed fix seems missing to update reference (informative) to DOM 4 spec.
Comment 5 Dominique Hazael-Massieux 2014-09-02 06:46:00 UTC
The reference is added automatically by ReSpec, by virtue of using [[DOM4]] in the table of errors.