debug logging for bug 966322
authorKarl Tomlinson <karlt+@karlt.net>
Tue, 18 Feb 2014 17:40:58 +1300
changeset 169577 d0b53dd1dcf02e551340fe1d44c9cda737b0a1b1
parent 169576 8e574d7a951a0b39cc70a3c25b64dc4e70e81ea1
child 169587 dfa1bf6d4c6094d08f23fbaf929b6872d12c1231
push id270
push userpvanderbeken@mozilla.com
push dateThu, 06 Mar 2014 09:24:21 +0000
bugs966322
milestone30.0a1
debug logging for bug 966322
content/media/webaudio/test/test_oscillatorNodeStart.html
--- a/content/media/webaudio/test/test_oscillatorNodeStart.html
+++ b/content/media/webaudio/test/test_oscillatorNodeStart.html
@@ -26,14 +26,29 @@ addLoadEvent(function() {
       if (input[i] != 0.0) {
         isSilent = false;
       }
     }
     sp.onaudioprocess = null;
     ok(isSilent, "OscillatorNode should be silent before calling start.");
     SimpleTest.finish();
   }
+
+  // Debug Logging for bug 966322
+
+  ok(true, "Load event ran");
+
+  var bs = context.createBufferSource();
+  bs.buffer = context.createBuffer(1, 1, context.sampleRate);
+  bs.start();
+  bs.onended = function() {
+    ok(true, "Graph is running");
+  }
+
 });
 
+// Debug Logging for bug 966322
+ok(true, "script ran");
+
 </script>
 </pre>
 </body>
 </html>