- From: Richard Maher <notifications@github.com>
- Date: Wed, 24 Feb 2016 17:08:57 -0800
- To: slightlyoff/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Thursday, 25 February 2016 01:09:26 UTC
Thanks again for explaining Ben and the logic seems sound. (Otherwise there'd be all these indefinite promises lying around just to keep the SW alive :-) I assume you don't allow something like: - var dodgyEvent = new ExtendableEvent('message_OrSomethingElse'); self.addEventListener('message', function (e) { var neverSettle = new Promise(function(resolve, reject) { }); this.waitUntil(neverSettle); } self.dispatchEvent(dodgyEvent); Having said that I see a strong argument for "Install" and "Activate" events being protected but "Message" "Fetch" "Error" "Travel" really? Why should these events empower the developer with a termination veto? Anyway, I've said it before and I'll say it again, this Service Worker stuff is absolutely amazing functionality! well done to all involved. --- Reply to this email directly or view it on GitHub: https://github.com/slightlyoff/ServiceWorker/issues/838#issuecomment-188543924
Received on Thursday, 25 February 2016 01:09:26 UTC