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 23928 - Define Error basic information "as used in these specs".
Summary: Define Error basic information "as used in these specs".
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:
Depends on:
Blocks:
 
Reported: 2013-11-26 16:11 UTC by Harald Alvestrand
Modified: 2014-05-08 09:28 UTC (History)
2 users (show)

See Also:


Attachments

Description Harald Alvestrand 2013-11-26 16:11:15 UTC
We need to make the "principles" part a bit clearer, and declare that these are invariant no matter how the DOMError debates turn out.

  - All errors are reported with a name (for programs) and a message (for humans). Sometimes
    auxillary data for programs, such as line number in SDP, but this should be rare.
  - This applies to error callbacks, exceptions and events (onerror)

This should be captured in some WebIDL definition too, which can be replaced with an external reference if and when we get one - this def should be in the Media Capture and Streams document, since all others refer to it.
Comment 1 Harald Alvestrand 2014-04-04 08:21:40 UTC
This has been added to http://dev.w3.org/2011/webrtc/editor/getusermedia.html#error-handling

Note that there is a problem with the name of the proposed construct (MediaError), since the same name is used in the HTML spec.
Comment 2 Stefan Hakansson LK 2014-04-22 08:57:35 UTC
(In reply to Harald Alvestrand from comment #1)
> This has been added to
> http://dev.w3.org/2011/webrtc/editor/getusermedia.html#error-handling
> 
> Note that there is a problem with the name of the proposed construct
> (MediaError), since the same name is used in the HTML spec.

This part is tracked in https://www.w3.org/Bugs/Public/show_bug.cgi?id=24931
Comment 3 Stefan Hakansson LK 2014-05-08 09:28:43 UTC
Error info is now defined (http://dev.w3.org/2011/webrtc/editor/archives/20140507/getusermedia.html).