OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 // http://w3c.github.io/mediacapture-record/MediaRecorder.html#MediaRecorderErro rEvent | |
6 // http://w3c.github.io/mediacapture-record/MediaRecorder.html#idl-def-Recording ErrorNameEnum | |
Peter Beverloo
2015/07/29 16:54:22
nit: https
mcasas
2015/07/30 13:20:37
Done.
| |
7 | |
8 enum RecordingErrorNameEnum { | |
Peter Beverloo
2015/07/29 16:54:22
Huh? I find this odd API design.
Why doesn't the
mcasas
2015/07/30 13:20:37
I don't know, the W3C spec is a bit old so it's no
| |
9 "InvalidState", | |
10 "OutOfMemory", | |
11 "IllegalStreamModification", | |
12 "SecurityError", | |
13 "OtherRecordingError" | |
14 }; | |
15 | |
16 [ | |
17 NoInterfaceObject | |
18 ] interface MediaRecorderErrorEvent : Event { | |
19 readonly attribute RecordingErrorNameEnum name; | |
20 readonly attribute DOMString? message; | |
Peter Beverloo
2015/07/29 16:54:22
nit: four space indent.
mcasas
2015/07/30 13:20:37
Done.
| |
21 }; | |
OLD | NEW |