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

It would be nice if we could investigate a `new ServiceWorker()` constructor to handle this case.  It seems like it would fit the situation well and would start moving the SW API closer to the other worker APIs.

```
var sw = new ServiceWorker('./heavy-lifting-sw.js');
sw.postMessage(aLotOfWorkToDo);
```

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

Received on Tuesday, 14 April 2015 13:49:50 UTC