diff --git a/index.bs b/index.bs index 9da6cb2c0..372950e3f 100644 --- a/index.bs +++ b/index.bs @@ -1237,14 +1237,14 @@ Methods 2. Let promise be a new Promise. - 3. If {{BaseAudioContext/decodeAudioData(audioData, successCallback, errorCallback)/audioData!!argument}} - is [=BufferSource/detached=], execute the following steps: + 3. If {{BaseAudioContext/decodeAudioData(audioData, successCallback, errorCallback)/audioData!!argument}} + is not [=BufferSource/detached=], execute the following steps: 1. Append promise to {{BaseAudioContext/[[pending promises]]}}. 2. [=ArrayBuffer/Detach=] the {{BaseAudioContext/decodeAudioData(audioData, successCallback, errorCallback)/audioData!!argument}} {{ArrayBuffer}}. - If this operations throws, jump to the step 3. + If this operation throws, jump to step 4.1. 3. Queue a decoding operation to be performed on another thread.