Bug 1208371 - Remove test_mediarecorder_record_nosrc.html. r?roc
It does not leak anymore, and the exception from
bug 919051 is not
in the spec.
MozReview-Commit-ID: Kw6OpaJllyR
--- a/dom/media/test/mochitest.ini
+++ b/dom/media/test/mochitest.ini
@@ -713,18 +713,16 @@ tags=msg
skip-if = android_version < '17' # Android/Gonk before SDK version 17 does not have the OMX Encoder API.
tags=msg
[test_mediarecorder_record_gum_video_timeslice.html]
tags=msg
[test_mediarecorder_record_immediate_stop.html]
tags=msg capturestream
[test_mediarecorder_record_no_timeslice.html]
tags=msg capturestream
-[test_mediarecorder_record_nosrc.html]
-tags=msg capturestream
[test_mediarecorder_record_session.html]
tags=msg capturestream
[test_mediarecorder_record_startstopstart.html]
tags=msg
[test_mediarecorder_record_stopms.html]
tags=msg
[test_mediarecorder_record_timeslice.html]
tags=msg capturestream
deleted file mode 100644
--- a/dom/media/test/test_mediarecorder_record_nosrc.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<html>
-<head>
- <title>Bug 919051 - Media Recording - memory leak when record a media stream without any tracks</title>
- <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
- <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
- <script type="text/javascript" src="manifest.js"></script>
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=919051">Mozill
-a Bug 919051</a>
-<pre id="test">
-<script class="testbody" type="text/javascript">
-
-function startTest() {
- var mediastream = document.createElement('video').mozCaptureStream();
-
- var mr = new MediaRecorder(mediastream);
- info('create MediaRecorder');
- try {
- mr.start();
- ok(false, 'should get exception');
- } catch(e) {
- is(e.name, 'InvalidStateError', "get correct exception");
- }
- SimpleTest.finish();
-}
-
-SimpleTest.waitForExplicitFinish();
-startTest();
-</script>
-</head>
-</html>
-