b=966322 use dump instead of ok to work around bug 974073
authorKarl Tomlinson <karlt+@karlt.net>
Wed, 19 Feb 2014 17:34:11 +1300
changeset 169810 afe584159bb287c3134bd11ea0ac2b283ad87fed
parent 169809 bc28c2b0b96b72ef37b6293134c472768472a6bb
child 169811 6ae100a8204c25bec6f6118bad320cb28f8ea185
push id270
push userpvanderbeken@mozilla.com
push dateThu, 06 Mar 2014 09:24:21 +0000
bugs966322, 974073
milestone30.0a1
b=966322 use dump instead of ok to work around bug 974073
content/media/webaudio/test/test_oscillatorNodeStart.html
--- a/content/media/webaudio/test/test_oscillatorNodeStart.html
+++ b/content/media/webaudio/test/test_oscillatorNodeStart.html
@@ -22,32 +22,33 @@ addLoadEvent(function() {
     var input = e.inputBuffer.getChannelData(0);
     var isSilent = true;
     for (var i = 0; i < input.length; i++) {
       if (input[i] != 0.0) {
         isSilent = false;
       }
     }
     sp.onaudioprocess = null;
+    dump("audioprocess received\n");
     ok(isSilent, "OscillatorNode should be silent before calling start.");
     SimpleTest.finish();
   }
 
   // Debug Logging for bug 966322
 
-  ok(true, "Load event ran");
+  dump("Load event ran\n");
 
   var bs = context.createBufferSource();
   bs.buffer = context.createBuffer(1, 1, context.sampleRate);
   bs.start();
   bs.onended = function() {
-    ok(true, "Graph is running");
+    dump("Graph is running\n");
   }
 
 });
 
 // Debug Logging for bug 966322
-ok(true, "script ran");
+dump("script ran\n");
 
 </script>
 </pre>
 </body>
 </html>