{"action":"created","issue":{"url":"https://api.github.com/repos/w3c/mediacapture-record/issues/98","repository_url":"https://api.github.com/repos/w3c/mediacapture-record","labels_url":"https://api.github.com/repos/w3c/mediacapture-record/issues/98/labels{/name}","comments_url":"https://api.github.com/repos/w3c/mediacapture-record/issues/98/comments","events_url":"https://api.github.com/repos/w3c/mediacapture-record/issues/98/events","html_url":"https://github.com/w3c/mediacapture-record/issues/98","id":194065719,"number":98,"title":"UnknownError seems inappropriate","user":{"login":"alvestrand","id":480893,"avatar_url":"https://avatars.githubusercontent.com/u/480893?v=3","gravatar_id":"","url":"https://api.github.com/users/alvestrand","html_url":"https://github.com/alvestrand","followers_url":"https://api.github.com/users/alvestrand/followers","following_url":"https://api.github.com/users/alvestrand/following{/other_user}","gists_url":"https://api.github.com/users/alvestrand/gists{/gist_id}","starred_url":"https://api.github.com/users/alvestrand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alvestrand/subscriptions","organizations_url":"https://api.github.com/users/alvestrand/orgs","repos_url":"https://api.github.com/users/alvestrand/repos","events_url":"https://api.github.com/users/alvestrand/events{/privacy}","received_events_url":"https://api.github.com/users/alvestrand/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-07T14:37:02Z","updated_at":"2016-12-14T01:29:48Z","closed_at":null,"body":"The current spec says that if something happens to make recording stop, \"UnknownError\" must be fired at the recorder.\r\n\r\nThis seems like an odd choice. Why not \"OperationError\"?\r\n"},"comment":{"url":"https://api.github.com/repos/w3c/mediacapture-record/issues/comments/266915807","html_url":"https://github.com/w3c/mediacapture-record/issues/98#issuecomment-266915807","issue_url":"https://api.github.com/repos/w3c/mediacapture-record/issues/98","id":266915807,"user":{"login":"miguelao","id":2168198,"avatar_url":"https://avatars.githubusercontent.com/u/2168198?v=3","gravatar_id":"","url":"https://api.github.com/users/miguelao","html_url":"https://github.com/miguelao","followers_url":"https://api.github.com/users/miguelao/followers","following_url":"https://api.github.com/users/miguelao/following{/other_user}","gists_url":"https://api.github.com/users/miguelao/gists{/gist_id}","starred_url":"https://api.github.com/users/miguelao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miguelao/subscriptions","organizations_url":"https://api.github.com/users/miguelao/orgs","repos_url":"https://api.github.com/users/miguelao/repos","events_url":"https://api.github.com/users/miguelao/events{/privacy}","received_events_url":"https://api.github.com/users/miguelao/received_events","type":"User","site_admin":false},"created_at":"2016-12-14T01:29:48Z","updated_at":"2016-12-14T01:29:48Z","body":"These are the descriptions:\r\n- [UnknownError](https://heycam.github.io/webidl/#unknownerror):\r\n> The operation failed for an unknown transient reason (e.g. out of memory).\r\n\r\n- [OperationError](https://heycam.github.io/webidl/#operationerror):\r\n> The operation failed for an operation-specific reason.\r\n\r\nSplitting hairs, really. I'd leave it as is.\r\n\r\nFTR: 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`).\r\n"}}
{"actor":{"display_login":"miguelao"}}