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 // https://w3c.github.io/mediacapture-record/MediaRecorder.html#MediaRecorderErr orEvent | |
6 // https://w3c.github.io/mediacapture-record/MediaRecorder.html#idl-def-Recordin gErrorNameEnum | |
7 | |
8 enum RecordingErrorNameEnum { | |
9 "InvalidState", | |
10 "OutOfMemory", | |
11 "IllegalStreamModification", | |
12 "SecurityError", | |
13 "OtherRecordingError" | |
14 }; | |
15 | |
16 [ | |
17 NoInterfaceObject | |
18 ] interface MediaRecorderErrorEvent : Event { | |
19 readonly attribute RecordingErrorNameEnum name; | |
esprehn
2015/08/21 08:46:13
Having a name property like this is very weird, I
mcasas
2015/08/21 18:50:05
Seems like MediaRecordingError raises eyebrows in
| |
20 readonly attribute DOMString? message; | |
21 }; | |
OLD | NEW |