[mediacapture-record] Pull Request: Removed UnknownError Exception; added ErrorEvent description.

miguelao has just submitted a new pull request for 
https://github.com/w3c/mediacapture-record:

== Removed UnknownError Exception; added ErrorEvent description. ==
Neither Gecko [1] nor Chrome [2] throw an UnknownError Exception. 
Moreover, an Exception is supposed to be thrown for a synchronous 
Event, whereas the detailed "out of memory" or "a track has been added
 to/removed from the recorded MediaStream" is asynchronous. This PR 
moves these types of Errors to the Event Section.

[1] 
https://github.com/mozilla/gecko-dev/blob/master/dom/media/MediaRecorder.cpp
[2] 
https://code.google.com/p/chromium/codesearch#chromium/src/third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.cpp&sq=package:chromium&type=cs&q=mediarecorder.cpp

See https://github.com/w3c/mediacapture-record/pull/46

Received on Wednesday, 20 January 2016 22:50:40 UTC