Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1114)

Unified Diff: third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.idl

Issue 1497883002: MediaRecorder: update to spec (1/3) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: s/eventInit/eventInitDict/ Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..a58a331f8e7016a7c5468e8ebd9079b671ee98a0 100644
--- a/third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.idl
+++ b/third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.idl
@@ -4,21 +4,20 @@
// https://w3c.github.io/mediacapture-record/MediaRecorder.html#MediaRecorderAPI
Peter Beverloo 2015/12/09 23:11:29 Mm. The GitHub repository uses both the gh-pages b
mcasas 2015/12/10 02:16:59 I was also uncertain about it so I pinged the appr
-enum RecordingStateEnum { "inactive", "recording", "paused" };
+enum RecordingState { "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
Peter Beverloo 2015/12/09 23:11:29 I see that Philip also pointed this out, but since
mcasas 2015/12/10 02:16:59 I agree and is being done here: http://crrev.com/1
- // 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 DOMString mimeType),
ConstructorCallWith=ExecutionContext,
RaisesException=Constructor,
RuntimeEnabled=MediaRecorder,
] interface MediaRecorder : EventTarget {
readonly attribute MediaStream stream;
readonly attribute DOMString mimeType;
- readonly attribute RecordingStateEnum state;
+ readonly attribute RecordingState state;
attribute boolean ignoreMutedMedia;
Peter Beverloo 2015/12/09 23:11:29 micro nit: it's easier to confirm how well we matc
mcasas 2015/12/10 02:16:59 Done.
attribute EventHandler onstart;

Powered by Google App Engine
This is Rietveld 408576698