Re: [w3c/ServiceWorker] Allow active worker to immediately evict itself (#1296)

@jakearchibald not sure whether to continue the [F2F terminate discussion](https://github.com/w3c/ServiceWorker/issues/1303#issuecomment-432967494) here or in https://github.com/w3c/ServiceWorker/issues/1292.
If we go with your suggestion of `serviceWorker.terminate()` / `self.terminate()`, this ticket might fit better.

At a high level, the API should:
* be available from both the window and the worker context.
* allow providing a deadline for existing tasks before hard removal
* allow choosing between removing the entire registration or just removing the active worker (i.e. effectively skipWaiting())

@mattto any insights on how easy this would be to implement?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/issues/1296#issuecomment-461247473

Received on Thursday, 7 February 2019 00:47:10 UTC