Re: [mediacapture-record] UnknownError seems inappropriate

These are the descriptions:
- [UnknownError](https://heycam.github.io/webidl/#unknownerror):
> The operation failed for an unknown transient reason (e.g. out of 
memory).

- [OperationError](https://heycam.github.io/webidl/#operationerror):
> The operation failed for an operation-specific reason.

Splitting hairs, really. I'd leave it as is.

FTR: Chrome returns `UnknownError` 
[here](https://cs.chromium.org/chromium/src/third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.cpp?q=mediarecorder.cpp&sq=package:chromium&dr&l=223)
 on platform start error, whereas I don't see 
[FF](https://github.com/mozilla/gecko-dev/blob/master/dom/media/MediaRecorder.cpp#L1025)
 returning `UnknownError` at all (only `InvalidState` and 
`SecurityError`).


-- 
GitHub Notification of comment by miguelao
Please view or discuss this issue at 
https://github.com/w3c/mediacapture-record/issues/98#issuecomment-266915807
 using your GitHub account

Received on Wednesday, 14 December 2016 01:29:59 UTC