Bug 1208371 - Remove test_mediarecorder_record_nosrc.html. r=roc
authorAndreas Pehrson <pehrsons@gmail.com>
Tue, 05 Jan 2016 10:16:29 +0800
changeset 329992 2b448b06d6aac44d20659184aa4270023fe5c01c
parent 329991 8cff901ef29d52f43957dbd39e18f8fc71c46942
child 329993 49a3857c6868fbf6044bea70970b9566b1cdbd54
push id6048
push userkmoir@mozilla.com
push dateMon, 06 Jun 2016 19:02:08 +0000
treeherdermozilla-beta@46d72a56c57d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersroc
bugs1208371, 919051
milestone48.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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
@@ -708,18 +708,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>
-