Re: [w3c/ServiceWorker] consider allowing a non-scope identifier for registrations (#1512)

> * The id is specified by the web developer

This is part of my concern or my misunderstanding of how this is expected to work.
Why should developers set IDs in the first place? How should they choose these values?
IDs seem mysterious compared to scope which has a very clear meaning.

If there is a one-to-one mapping between IDs and ServiceWorkerRegistration objects, why not passing ServiceWorkerRegistration directly to the API? Would there be a difference in behavior?

> it can be done incrementally on top of this proposal.

Are we confident in that? How is IDs exposure expected to help there?

A service worker might support several scopes in the future, we might end up wanting to migrate some but maybe not all of the scopes to a different service worker.
Is exposing ID helping this case?

-- 
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/issues/1512#issuecomment-707843363

Received on Tuesday, 13 October 2020 16:02:34 UTC