Refactoring: Pull all fullscreen code out of Document and into its own helper class
[WebKit-https.git] / LayoutTests / webaudio / convolution-mono-mono.html
index bf57f38..1295df4 100644 (file)
@@ -2,9 +2,8 @@
 
 <html>
 <head>
-<link rel="stylesheet" href="../fast/js/resources/js-test-style.css"/>
 <script type="text/javascript" src="resources/audio-testing.js"></script>
-<script src="../fast/js/resources/js-test-pre.js"></script>
+<script src="../resources/js-test.js"></script>
 <script src="resources/convolution-testing.js"></script>
 </head>
 
@@ -27,11 +26,6 @@ description("Tests ConvolverNode processing a mono channel with mono impulse res
 // the result should be exactly zero because the inputs are exactly
 // zero.
 function runTest() {
-    if (window.testRunner) {
-        testRunner.dumpAsText();
-        testRunner.waitUntilDone();
-    }
-    
     window.jsTestIsAsync = true;
         
     // Create offline audio context.
@@ -50,17 +44,14 @@ function runTest() {
     bufferSource.connect(convolver);
     convolver.connect(context.destination);
 
-    bufferSource.noteOn(0);
+    bufferSource.start(0);
     
     context.oncomplete = checkConvolvedResult(trianglePulse);
     context.startRendering();
 }
 
 runTest();
-successfullyParsed = true;
 
 </script>
-
-<script src="../fast/js/resources/js-test-post.js"></script>
 </body>
 </html>