Re: [slightlyoff/ServiceWorker] Inconsistencies due to when clients are created (#870)

@jakearchibald, In addition, I'd like to revisit the use case of `e.reservedClientId` and `e.targetClientId` in the API perspective. It'll be great if you outline the usages of those attributes in some sample code.

To me, in my mental model, we need only two clients: the source and the target where the state of the target, `targetClient.created`, changes from false to true when the actual Global object is created.

In https://github.com/slightlyoff/ServiceWorker/issues/870#issuecomment-208487588, the `client.targetClientId` is set to the value of `client.reservedClientId` when the target is created. Or, are they two different values at the end?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/issues/870#issuecomment-241344592

Received on Monday, 22 August 2016 08:25:25 UTC