[w3c/ServiceWorker] reflect internal "parsed" state in ServiceWorkerState enum (#1162)

Currently the spec defines an internal ServiceWorker state `parsed`:

https://w3c.github.io/ServiceWorker/#dfn-state

The webidl `ServiceWorkerState` enum, however, does not define a matching value.  The spec does not say what to do if the `.state` getter is somehow called while the state is `parsed`.

We could explicitly throw, but I think it would be better to just reflect the state in the enum.

-- 
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/1162

Received on Tuesday, 13 June 2017 15:30:16 UTC