Bug 966322 - Work around bug 916387. a=test-only
authorKarl Tomlinson <karlt+@karlt.net>
Tue, 18 Feb 2014 17:40:58 +1300
changeset 176345 92a55a89fb54dd4b4c248df2387e199eda56983c
parent 176344 5428e2888c9454a72872e843204633eacad03772
child 176346 c4725c7bb63f90c96a548261c64edaa460cdf510
push id445
push userffxbld
push dateMon, 10 Mar 2014 22:05:19 +0000
treeherdermozilla-release@dc38b741b04e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstest-only
bugs966322, 916387
milestone28.0
Bug 966322 - Work around bug 916387. a=test-only
content/media/webaudio/test/test_oscillatorNodeStart.html
--- a/content/media/webaudio/test/test_oscillatorNodeStart.html
+++ b/content/media/webaudio/test/test_oscillatorNodeStart.html
@@ -1,28 +1,29 @@
 <!DOCTYPE HTML>
 <html>
 <head>
   <title>Test the OscillatorNode interface</title>
   <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="webaudio.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();
 addLoadEvent(function() {
 
   var context = new AudioContext();
   var osc = context.createOscillator();
   var sp = context.createScriptProcessor();
 
   osc.connect(sp);
+  // Work around bug 916387.
+  sp.connect(context.destination);
 
   sp.onaudioprocess = function (e) {
     var input = e.inputBuffer.getChannelData(0);
     var isSilent = true;
     for (var i = 0; i < input.length; i++) {
       if (input[i] != 0.0) {
         isSilent = false;
       }