- From: Nathan Schloss <notifications@github.com>
- Date: Mon, 24 Oct 2016 15:59:53 -0700
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Monday, 24 October 2016 23:00:59 UTC
@domenic, that makes sense to me. It's important that we provide a sync way to check this though. There are times where someone might not want to call respondWith if the preload was not sent. I guess maybe we'll need something like event.hasNavigationPreload which is a bool and then event.navigationPreload which is always a Promise<?Request> (ie a promise that will sometimes resolve to a request and other times resolve to null)? -- 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/920#issuecomment-255889885
Received on Monday, 24 October 2016 23:00:59 UTC