diff --git a/spec/service_worker/index.html b/spec/service_worker/index.html index 69f94bd8..461960d5 100644 --- a/spec/service_worker/index.html +++ b/spec/service_worker/index.html @@ -886,14 +886,7 @@

_Update

  • Abort these steps.
  • -
  • If fetching the script fails due to the server returning a 4xx response, then: -
      -
    1. Reject promise with the result of running the _Unregistration algorithm passing serviceWorkerRegistration.scope as the argument.
    2. -
    3. Set serviceWorkerRegistration.updatePromise to null.
    4. -
    5. Abort these steps.
    6. -
    -
  • -
  • Else if fetching the script fails due to the server returning a 5xx response, or there is a DNS error, or the connection times out, then: +
  • Else if fetching the script fails due to the server returning a 4xx response or if fetching the script fails due to the server returning a 5xx response, or there is a DNS error, or the connection times out, then:
    1. Reject promise with a new NetworkError.
    2. Set serviceWorkerRegistration.updatePromise to null.