Re: [ServiceWorker] Default scope to register() (#595)

It should be URL('./', scriptURL).href.

I can imagine service worker registration being part of the script that's included in most pages. If "./" was the default scope users would end up with *many* ServiceWorkers as they navigate around the site.

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

Received on Friday, 26 December 2014 08:42:15 UTC