diff --git a/index.html b/index.html index 949eb545..b0f23079 100644 --- a/index.html +++ b/index.html @@ -3490,16 +3490,19 @@

arguments.

- The complete(result) method MUST act as follows: + The complete(result) method MUST act + as follows:

  1. Let response be the context object.
  2. +
  3. If response.[[\complete]] is true, return a + promise rejected with an "InvalidStateError" + DOMException. +
  4. Let promise be a new promise.
  5. -
  6. If response.[[\complete]] is true, reject - promise with an "InvalidStateError" - DOMException. +
  7. Set response.[[\complete]] to true.
  8. If @@ -3507,8 +3510,6 @@

    promise with an "InvalidStateError" DOMException.

  9. -
  10. Otherwise, set response.[[\complete]] to true. -
  11. Return promise and perform the remaining steps in parallel.