Service 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 Review URL: https://codereview.chromium.org/377153003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282636 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment