[go: nahoru, domu]

ServiceWorker: Update worker state when waitUntil be rejected.

When "install" and "activate" events lifetime be extended by using
waitUntil() method, the rejection of passing promise will update worker
state to "redundant".

See http://slightlyoff.github.io/ServiceWorker/spec/service_worker/ 
[[Install]] and [[Activate]] algorithms.

Review URL: https://codereview.chromium.org/355163002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@280997 0039d316-1c4b-4281-b951-d872f2087c98
2 files changed