diff --git a/index.bs b/index.bs
index 03538147f..7596828bb 100644
--- a/index.bs
+++ b/index.bs
@@ -1105,9 +1105,11 @@ Methods
called, the following steps MUST be performed on the control
thread:
- 1. Let promise be a new Promise.
+ 1. If [=this=]'s [=relevant global object=]'s [=associated Document=] is not [=fully active=] then return [=a promise rejected with=] "{{InvalidStateError}}" {{DOMException}}.
+
+ 2. Let promise be a new Promise.
- 2. If the operation IsDetachedBuffer
+ 3. If the operation IsDetachedBuffer
(described in [[!ECMASCRIPT]]) on {{BaseAudioContext/decodeAudioData(audioData, successCallback, errorCallback)/audioData!!argument}} is
false, execute the following steps:
@@ -1121,14 +1123,14 @@ Methods
3. Queue a decoding operation to be performed on another thread.
- 3. Else, execute the following error steps:
+ 4. Else, execute the following error steps:
1. Let error be a {{DataCloneError}}.
2. Reject promise with error, and remove it from
{{BaseAudioContext/[[pending promises]]}}.
3. Queue a task to invoke {{BaseAudioContext/decodeAudioData()/errorCallback!!argument}} with error.
- 4. Return promise.
+ 5. Return promise.