Index: third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.idl |
diff --git a/third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.idl b/third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.idl |
index 2b92f95e497e1899a165223dba9f89df298e5c6e..01b474b0c9264d81856f36b9571c7a93d2e2d23f 100644 |
--- a/third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.idl |
+++ b/third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.idl |
@@ -9,9 +9,7 @@ enum RecordingStateEnum { "inactive", "recording", "paused" }; |
[ |
GarbageCollected, |
ActiveDOMObject, |
- // TODO(mcasas): consider changing |mimeType| to a dictionary with said key, see https://github.com/w3c/mediacapture-record/issues/19 |
- // TODO(mcasas): Remove [TreatUndefinedAs], see https://github.com/w3c/mediacapture-record/issues/7 |
- Constructor(MediaStream stream, [TreatUndefinedAs=Missing] optional DOMString mimeType), |
+ Constructor(MediaStream stream, optional MediaRecorderOptions options), |
ConstructorCallWith=ExecutionContext, |
RaisesException=Constructor, |
RuntimeEnabled=MediaRecorder, |
@@ -34,5 +32,5 @@ enum RecordingStateEnum { "inactive", "recording", "paused" }; |
[RaisesException] void resume(); |
[RaisesException] void requestData(); |
- static DOMString canRecordMimeType(DOMString mimeType); |
+ static boolean isTypeSupported(DOMString type); |
}; |