- From: Jake Archibald <notifications@github.com>
- Date: Tue, 24 Feb 2015 02:59:56 -0800
- To: slightlyoff/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Tuesday, 24 February 2015 11:00:24 UTC
Having a client for `sendBeacon()` or `ping=""` seems fine to me. Yes, the client may be gone, but that's always possible with clients. You can `clients.getAll(c => c[0].focus())` and have the client shut down before it works (meaning the promise rejects). For navigations, I agree the client should be null. If you respond with a `Content-Disposition` header, a scriptable client isn't created. --- Reply to this email directly or view it on GitHub: https://github.com/slightlyoff/ServiceWorker/issues/631#issuecomment-75736805
Received on Tuesday, 24 February 2015 11:00:24 UTC