Re: [w3c/ServiceWorker] Central algorithm for updating service worker state and registrations (#1416)

> The main thing to note is that registration is expected to be updated by the time the state change event fires on one of the workers.

Yea.  Just for extra implementation context, trying to keep the separate registration and worker objects in a coherent state was very tricky for me implementing cross-process support.  In the end I basically had to treat the worker objects as children of the registration and funnel all IPC traffic for them through the registration.

-- 
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/pull/1416#issuecomment-499104145

Received on Wednesday, 5 June 2019 14:22:07 UTC