Re: [ServiceWorker] Race when registering multiple service workers for the same scope (#783)

> To help close this race I'm trying to check for changes in newest worker script URL right before queuing the install job from an update, but I think there is still the potential for a race.

Actually, to better fix this race I'm going to pass a value into the install job indicating whether the script URL can change or not.  That way the update job can indicate that changing the script is not permitted and the install job can abort.

Not sure thats the best way to represent this in the spec.

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

Received on Tuesday, 15 December 2015 16:28:54 UTC