Bug 1208371 - Remove test_mediarecorder_record_nosrc.html. r?roc draft
authorAndreas Pehrson <pehrsons@gmail.com>
Tue, 05 Jan 2016 10:16:29 +0800
changeset 342145 19dcbb152b8a78178846c3aa2a6ef3431c6a68df
parent 342144 ddf2c4ddcae7d9589476421ba8bd680741a9cfc5
child 342146 bc6ae2dd320a2ec79a91876d20799033d1a7a856
push id13352
push userpehrsons@gmail.com
push dateFri, 18 Mar 2016 13:49:47 +0000
reviewersroc
bugs1208371, 919051
milestone47.0a1
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
dom/media/test/mochitest.ini
dom/media/test/test_mediarecorder_record_nosrc.html
--- 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>
-