Backed out changeset 3fb31d11633e (bug 1295296)
authorRandell Jesup <rjesup@jesup.org>
Wed, 17 Aug 2016 16:22:41 -0400
changeset 309982 876756efc390115f1fde3b23e8369edd95eda403
parent 309981 1a952d5e30464981a58a080a5066f60b6a376a7f
child 309983 11c94ec980d60a48be403d003798d64269e785ef
push id31519
push userkwierso@gmail.com
push dateThu, 18 Aug 2016 23:33:44 +0000
treeherderautoland@aaa70fd2ddee [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1295296
milestone51.0a1
backs out3fb31d11633e4f515117c421a4538bfb31edd497
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
Backed out changeset 3fb31d11633e (bug 1295296)
dom/media/webaudio/test/mochitest.ini
dom/media/webaudio/test/short.mp4
dom/media/webaudio/test/test_mediaElementAudioSourceNodeVideoReplay.html
--- a/dom/media/webaudio/test/mochitest.ini
+++ b/dom/media/webaudio/test/mochitest.ini
@@ -9,17 +9,16 @@ support-files =
   audio-mono-expected.wav
   audio-quad.wav
   audio.ogv
   audioBufferSourceNodeDetached_worker.js
   corsServer.sjs
   invalid.txt
   layouttest-glue.js
   noaudio.webm
-  short.mp4
   small-shot-expected.wav
   small-shot-mono-expected.wav
   small-shot.ogg
   small-shot.mp3
   ting-44.1k-1ch.ogg
   ting-44.1k-2ch.ogg
   ting-48k-1ch.ogg
   ting-48k-2ch.ogg
@@ -144,18 +143,16 @@ skip-if = buildapp == 'mulet'
 [test_mediaDecoding.html]
 [test_mediaElementAudioSourceNode.html]
 tags=capturestream
 [test_mediaElementAudioSourceNodeFidelity.html]
 tags=capturestream
 [test_mediaElementAudioSourceNodePassThrough.html]
 tags=capturestream
 skip-if = toolkit == 'android' # bug 1145816
-[test_mediaElementAudioSourceNodeVideoReplay.html]
-tags=capturestream
 [test_mediaElementAudioSourceNodeCrossOrigin.html]
 tags=capturestream
 skip-if = toolkit == 'android' # bug 1145816
 [test_mediaStreamAudioDestinationNode.html]
 [test_mediaStreamAudioSourceNode.html]
 [test_mediaStreamAudioSourceNodeCrossOrigin.html]
 tags=capturestream
 [test_mediaStreamAudioSourceNodeNoGC.html]
deleted file mode 100644
index a674b7eb6808c38c6ec40c41d0e3db6cb45336e1..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
GIT binary patch
literal 0
Hc$@<O00001
deleted file mode 100644
--- a/dom/media/webaudio/test/test_mediaElementAudioSourceNodeVideoReplay.html
+++ /dev/null
@@ -1,61 +0,0 @@
-<!DOCTYPE HTML>
-<html>
-<meta charset="utf-8">
-<head>
-  <title>Test MediaElementAudioSourceNode before "loadedmetadata"</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<pre id="test">
-<script class="testbody" type="text/javascript">
-SimpleTest.waitForExplicitFinish();
-
-var video = document.createElement("video");
-video.src = "short.mp4";
-
-var context = new AudioContext();
-var complete = false;
-
-video.onended = () => {
-  if (complete) {
-    return;
-  }
-
-  complete = true;
-  ok(false, "Video ended without any samples seen");
-  SimpleTest.finish();
-};
-
-video.ontimeupdate = () => {
-  info("Timeupdate: " + video.currentTime);
-};
-
-var node = context.createMediaElementSource(video);
-var sp = context.createScriptProcessor(2048, 1);
-node.connect(sp);
-
-// This test ensures we receive some nonzero samples when we capture to
-// WebAudio before "loadedmetadata".
-sp.onaudioprocess = e => {
-  if (complete) {
-    return;
-  }
-
-  var buf = e.inputBuffer.getChannelData(0);
-  for (var i = 0; i < buf.length; ++i) {
-    if (buf[i] != 0) {
-      complete = true;
-      ok(true, "Got non-zero samples");
-      SimpleTest.finish();
-      return;
-    }
-  }
-};
-
-video.play();
-
-</script>
-</pre>
-</body>
-</html>