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

Currently the default scope is "/" which will likely result in failure due to the path restriction. There was some suggestions to revise it around https://github.com/slightlyoff/ServiceWorker/issues/468#issuecomment-60584294 but it seems not decided yet.

Chrome is happy making it something like "./". I'm not actually sure the difference between './' and new URL('./', scriptURL).href

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

Received on Friday, 26 December 2014 08:37:26 UTC