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

Unified Diff: third_party/WebKit/LayoutTests/fast/mediarecorder/MediaRecorder-requestData.html

Issue 2207613003: MediaRecorder: add mime type to recorded blobs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/mediarecorder/MediaRecorder-requestData.html
diff --git a/third_party/WebKit/LayoutTests/fast/mediarecorder/MediaRecorder-requestData.html b/third_party/WebKit/LayoutTests/fast/mediarecorder/MediaRecorder-requestData.html
index 6014155ae2c7e12409842b124920999408459d7d..e1766f462ddf354dea335cf18a056aa984a17984 100644
--- a/third_party/WebKit/LayoutTests/fast/mediarecorder/MediaRecorder-requestData.html
+++ b/third_party/WebKit/LayoutTests/fast/mediarecorder/MediaRecorder-requestData.html
@@ -27,6 +27,7 @@ var makeAsyncTest = function(value, expected) {
const recorderOnDataAvailable = test.step_func_done(function(event) {
assert_equals(event.data.size, 0,
'Recorded data size should be == 0');
+ assert_equals(event.data.type, "video/webm");
});
const recorderOnStop = test.step_func(function() {
@@ -37,7 +38,7 @@ var makeAsyncTest = function(value, expected) {
assert_unreached('Recording error.');
});
- const gotStream = test.step_func_done(function(stream) {
+ const gotStream = test.step_func(function(stream) {
checkStreamTracks(stream, value['video'], value['audio']);
var recorder = new MediaRecorder(stream);
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/mediarecorder/MediaRecorder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698