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

Unified Diff: third_party/WebKit/LayoutTests/fast/mediarecorder/MediaRecorder-events-and-exceptions.html

Issue 1652373004: MediaRecorder: add and wire read {video,audio}BitsPerSecond props (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: philipj@ nits Created 4 years, 10 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
Index: third_party/WebKit/LayoutTests/fast/mediarecorder/MediaRecorder-events-and-exceptions.html
diff --git a/third_party/WebKit/LayoutTests/fast/mediarecorder/MediaRecorder-events-and-exceptions.html b/third_party/WebKit/LayoutTests/fast/mediarecorder/MediaRecorder-events-and-exceptions.html
index c770e588a23ca345628bf3a13073aa2fa469b808..65807771a8bfc992ecd4524b4b8d79e84f8085ac 100644
--- a/third_party/WebKit/LayoutTests/fast/mediarecorder/MediaRecorder-events-and-exceptions.html
+++ b/third_party/WebKit/LayoutTests/fast/mediarecorder/MediaRecorder-events-and-exceptions.html
@@ -67,11 +67,7 @@ gotStream = test.step_func(function(stream) {
},
"recorder should throw() with unsupported mimeType");
- try {
- recorder = new MediaRecorder(stream);
- } catch (e) {
- assert_unreached('Exception while creating MediaRecorder: ' + e);
- }
+ recorder = new MediaRecorder(stream);
assert_equals(recorder.state, "inactive");
assert_throws("InvalidStateError", function() { recorder.stop() },
@@ -94,10 +90,6 @@ gotStream = test.step_func(function(stream) {
assert_equals(recorder.state, "recording");
});
-try {
- navigator.webkitGetUserMedia({video:true}, gotStream, recorderOnUnexpectedEvent);
-} catch(e) {
- assert_unreached('Exception launching getUserMedia(): ' + e);
-}
+navigator.webkitGetUserMedia({video:true}, gotStream, recorderOnUnexpectedEvent);
</script>

Powered by Google App Engine
This is Rietveld 408576698