Re: [ServiceWorker] A worker that fails to activate should relinquish its controllees (#659)

Yeah, so we have no activation failure concept. It was so as dealt with in https://github.com/slightlyoff/ServiceWorker/issues/115#issuecomment-50316488. I might have missed it. The Activate algorithm still had had the failure handling steps by then. (and to date actually.)

So, I'll remove the activation failure handling steps in Activate algorithm for `e.waitUntil(rejected)`.

Wants to check if I'm on the same page: the uncaught runtime script error in the `onactive` event listener and the termination of the activating worker before the waitUntil promise settles will not be treated as an activation failure, either. So, we just let it remain the _active worker_ and change its state to _activated_.

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

Received on Thursday, 23 April 2015 06:26:29 UTC