Open jakearchibald opened 10 years ago
Some of this isn't well specced yet:
https://github.com/slightlyoff/ServiceWorker/issues/144 https://github.com/slightlyoff/ServiceWorker/issues/143
…but I'd like to try and get the "wait for all windows using v1 to go before activating v2" working.
As part of this I'd like to move the registration/install/activation code into WorkerRegistry and WorkerRegistration.
registry register():
registration update():
Tab load and unload:
On fetch:
Some of this isn't well specced yet:
https://github.com/slightlyoff/ServiceWorker/issues/144 https://github.com/slightlyoff/ServiceWorker/issues/143
…but I'd like to try and get the "wait for all windows using v1 to go before activating v2" working.