Re: [ServiceWorker] should installing workers be persisted if browser is killed? (#794)

> In this case, what should happen on browser restart? Is registration.installing still set? If so, when do we re-run the install event?

registration.installing was set and persisted but will be set to null in the next Update (step 4.2.3).

> Its not clear to me the update mechanism will account for this case since the script will be a byte-for-byte match.

When the execution reaches the byte-for-byte check, registration.installing should have been null (by the above) and will go on to the step 4.26.

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

Received on Wednesday, 2 December 2015 01:15:43 UTC