- From: Matt Falkenhagen <notifications@github.com>
- Date: Wed, 26 Nov 2014 20:02:04 -0800
- To: slightlyoff/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Thursday, 27 November 2014 04:02:31 UTC
The Activate algorithm blocks on "in-progress requests":
> If exitingWorker is not null, then:
> Wait for exitingWorker to finish handling any in-progress requests.
What is the definition of an "in-progress request"? Does this mean skipWaiting() will fail to upgrade if you have a buggy SW like:
```javascript
onfetch = function(e) { e.respondWith(new Promise(){}); };
```
That wouldn't work for a use case of skipWaiting() to act as a kill-switch for bad SW.
---
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/issues/569
Received on Thursday, 27 November 2014 04:02:31 UTC