[w3c/ServiceWorker] Improving service worker state (#1432)

Making service worker state a string internally, which simplifies setting it. Also ensuring that `.state` is set when we create service worker objects.
You can view, comment on, or merge this pull request online at:

  https://github.com/w3c/ServiceWorker/pull/1432

-- Commit Summary --

  * Using strings for state
  * Ensuring state is set
  * Simplify setting worker state

-- File Changes --

    M docs/index.bs (94)

-- Patch Links --

https://github.com/w3c/ServiceWorker/pull/1432.patch
https://github.com/w3c/ServiceWorker/pull/1432.diff

-- 
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/pull/1432

Received on Tuesday, 11 June 2019 16:52:24 UTC