- From: cybai <notifications@github.com>
- Date: Mon, 01 Jan 2018 05:26:33 -0800
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 1 January 2018 13:26:55 UTC
In the [`2.1. Service Worker`](https://w3c.github.io/ServiceWorker/#service-worker-concept) section, the spec said
> A service worker has an associated _**state**_, which is one of _parsed_, _installing_, _installed_, _activating_, _activated_, and _redundant_. It is initially _**parsed**_.
However, in its interface specification which is [`3.1. ServiceWorker`](https://w3c.github.io/ServiceWorker/#serviceworker-interface) section, it said
```rust
enum ServiceWorkerState {
"installing",
"installed",
"activating",
"activated",
"redundant"
};
```
> A **ServiceWorker** object has an associated **ServiceWorkerState** object which is itself associated with **service worker's state**.
If the **ServiceWorkerState** is associated to **service worker's state**, I think maybe one of them is incorrect?
Maybe the **parsed** is redundant now?
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/issues/1256
Received on Monday, 1 January 2018 13:26:55 UTC