- From: Jungkee Song <notifications@github.com>
- Date: Wed, 10 Aug 2016 22:35:06 -0700
- To: slightlyoff/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Thursday, 11 August 2016 05:35:41 UTC
> I'm not sure I understand the use case of exposing an uninstalling flag via self.registration.uninstalling. I haven't come across any use case yet. I guess @wanderview might have thought it would help in case we need some way to prevent further operations on a registration when it's being uninstalled. However, I don't see any issue with the current behavior: when called on an uninstalling registration, `registration.update()` rejects, and `registration.unregister()` resolves with true if it's still waiting to be cleared or resolves with false if it's already cleared, which seem reasonable to me. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/slightlyoff/ServiceWorker/issues/943#issuecomment-239077375
Received on Thursday, 11 August 2016 05:35:41 UTC