This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
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.
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.
(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
Error info is now defined (http://dev.w3.org/2011/webrtc/editor/archives/20140507/getusermedia.html).