Many WebAudio js-tests use waitUntilDone
[WebKit-https.git] / LayoutTests / webaudio / audiobuffersource-negative-playbackrate-interpolated-loop.html
index b84733d..448fec8 100644 (file)
@@ -2,7 +2,7 @@
 <html>
 <head>
     <title>audiobuffersource-negative-playbackrate-interpolated-loop</title>
-    <script src="../resources/js-test-pre.js"></script>
+    <script src="../resources/js-test.js"></script>
     <script src="resources/audio-testing.js"></script>
     <script src="resources/audiobuffersource-testing.js"></script>
 
     }];
 
     function go() {
-        if (window.testRunner) {
-            testRunner.dumpAsText();
-            testRunner.waitUntilDone();
-        }
+        jsTestIsAsync = true;
 
         context = new webkitOfflineAudioContext(1, renderFrames, sampleRate);