| Index: LayoutTests/webaudio/oscillator-custom.html
|
| diff --git a/LayoutTests/webaudio/oscillator-custom.html b/LayoutTests/webaudio/oscillator-custom.html
|
| index a87e003002efb3fba25140cd14cd9b6c1a9778b5..6a6d57a256038dd81f781fbcd7c017faa4eab788 100644
|
| --- a/LayoutTests/webaudio/oscillator-custom.html
|
| +++ b/LayoutTests/webaudio/oscillator-custom.html
|
| @@ -21,7 +21,14 @@ function init() {
|
| if (!window.testRunner)
|
| return;
|
|
|
| - generateExponentialOscillatorSweep("custom");
|
| + // Create offline audio context.
|
| + context = new OfflineAudioContext(1, sampleRate * lengthInSeconds, sampleRate);
|
| + generateExponentialOscillatorSweep(context, "custom");
|
| +
|
| + context.oncomplete = finishAudioTest;
|
| + context.startRendering();
|
| +
|
| + testRunner.waitUntilDone();
|
| }
|
|
|
| </script>
|
|
|