Re: [ServiceWorker] Workers & SharedWorkers within ServiceWorkers (#678)

@wanderview why `new ServiceWorker` instead of `new Worker`? From what I can tell comparing the interfaces, you would get:

- scriptURL
- state
- id
- onstatechange

and lose

- onmessage
- terminate (!)

plus of course you'd have to have a new conceptual service worker and ServiceWorkerGlobalScope with install/activate/fetch events... Seems weird.

---
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/issues/678#issuecomment-92934271

Received on Tuesday, 14 April 2015 16:02:54 UTC