diff --git a/webaudioapi/waa-tests.ts b/webaudioapi/waa-tests.ts index 91c6114631..505f6214ef 100644 --- a/webaudioapi/waa-tests.ts +++ b/webaudioapi/waa-tests.ts @@ -317,7 +317,9 @@ declare var footstepsBuffer: any; ()=>{ var context = new webkitOfflineAudioContext(1, 2, 44100.5); + context.oncomplete = function(e) { + context.createBufferSource().buffer; + } context.startRendering(); - context.oncomplete(context.createBufferSource().buffer); }