DescriptionService Worker: set active worker to REDUNDANT when unregistered
As per spec update:
https://github.com/slightlyoff/ServiceWorker/issues/353
Now the active worker is set to REDUNDANT when unregistered. If it has a
controllee, this happens when it no longer has a controllee.
This patch adds a Doom function to ServiceWorkerVersion which takes
care of setting REDUNDANT and purging resources once there's
no controllee. This obviates the need for ServiceWorkerStorage to
listen for NoControllees and purge resources then.
BUG=388095
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=282636
Patch Set 1 #Patch Set 2 : make setting redundant clearly the responsibility of SWStorage #
Total comments: 5
Patch Set 3 : version purges the resources #
Total comments: 10
Patch Set 4 : sync #Patch Set 5 : review comments #Messages
Total messages: 18 (0 generated)
|